io.permazen.tuple.AbstractHas1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of permazen-util Show documentation
Show all versions of permazen-util Show documentation
Common utility classes used by Permazen.
The newest version!
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen.tuple;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
class AbstractHas1 implements Tuple, Has1 {
final V1 v1;
protected AbstractHas1(V1 v1) {
this.v1 = v1;
}
@Override
public V1 getValue1() {
return this.v1;
}
@Override
public int getSize() {
return 1;
}
@Override
public List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy