io.permazen.tuple.AbstractHas4 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 AbstractHas4 extends AbstractHas3 implements Has4 {
final V4 v4;
protected AbstractHas4(V1 v1, V2 v2, V3 v3, V4 v4) {
super(v1, v2, v3);
this.v4 = v4;
}
@Override
public V4 getValue4() {
return this.v4;
}
@Override
public int getSize() {
return 4;
}
@Override
public List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy