Class ReadOnlyQuadruple<A,B,C,D>
java.lang.Object
lu.kbra.pclib.datastructure.tuple.ReadOnlyQuadruple<A,B,C,D>
- All Implemented Interfaces:
Cloneable,DeepCloneable,Quadruple<A,,B, C, D> ReadOnlyTuple,Tuple
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]asArray()clone()final intboolean<T> Tget(int i) getFirst()getThird()booleanhasFirst()booleaninthashCode()booleanbooleanhasThird()<T> ReadOnlyQuadruple<?,?, ?, ?> <T> T<T,N, O, P> ReadOnlyQuadruple<T, N, O, P> map(QuadFunction<A, B, C, D, T> funcFirst, QuadFunction<A, B, C, D, N> funcSecond, QuadFunction<A, B, C, D, O> funcThird, QuadFunction<A, B, C, D, P> funcFourth) <T> ReadOnlyQuadruple<T,B, C, D> <T> ReadOnlyQuadruple<A,B, C, T> <T> ReadOnlyQuadruple<A,T, C, D> <T> ReadOnlyQuadruple<A,B, T, D> toString()Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface lu.kbra.pclib.datastructure.DeepCloneable
deepCloneMethods inherited from interface lu.kbra.pclib.datastructure.tuple.ReadOnlyTuple
isEditable
-
Constructor Details
-
ReadOnlyQuadruple
public ReadOnlyQuadruple()
-
-
Method Details
-
asArray
-
clone
-
cloneEditable
- Specified by:
cloneEditablein interfaceQuadruple<A,B, C, D> - Specified by:
cloneEditablein interfaceTuple
-
cloneReadOnly
- Specified by:
cloneReadOnlyin interfaceQuadruple<A,B, C, D> - Specified by:
cloneReadOnlyin interfaceTuple
-
elementCount
public final int elementCount()- Specified by:
elementCountin interfaceQuadruple<A,B, C, D> - Specified by:
elementCountin interfaceTuple
-
equals
-
get
public <T> T get(int i) -
getFirst
-
getSecond
-
getThird
-
getFourth
-
hashCode
public int hashCode() -
hasFirst
public boolean hasFirst() -
hasSecond
public boolean hasSecond() -
hasThird
public boolean hasThird() -
hasFourth
public boolean hasFourth() -
map
-
map
public <T,N, ReadOnlyQuadruple<T,O, P> N, mapO, P> (QuadFunction<A, B, C, D, T> funcFirst, QuadFunction<A, B, C, D, N> funcSecond, QuadFunction<A, B, C, D, O> funcThird, QuadFunction<A, B, C, D, P> funcFourth) -
mapFirst
-
mapSecond
-
mapThird
-
mapFourth
-
map
-
toString
-