io.permazen.tuple.AbstractHas3 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.
/*
* 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 AbstractHas3 extends AbstractHas2 implements Has3 {
final V3 v3;
protected AbstractHas3(V1 v1, V2 v2, V3 v3) {
super(v1, v2);
this.v3 = v3;
}
@Override
public V3 getValue3() {
return this.v3;
}
@Override
public int getSize() {
return 3;
}
@Override
public List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy