Class Quintuple<A,B,C,D,E>
java.lang.Object
lu.kbra.pclib.datastructure.tuple.Quintuple<A,B,C,D,E>
- All Implemented Interfaces:
Cloneable,DeepCloneable,Tuple
- Direct Known Subclasses:
ReadOnlyQuintuple
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]asArray()clone()intboolean<T> Tget(int i) getFifth()getFirst()getThird()inthashCode()<R1,R2, R3, R4, R5>
Quintuple<R1, R2, R3, R4, R5> map(QuintFunction<A, B, C, D, E, R1> funcFirst, QuintFunction<A, B, C, D, E, R2> funcSecond, QuintFunction<A, B, C, D, E, R3> funcThird, QuintFunction<A, B, C, D, E, R4> funcFourth, QuintFunction<A, B, C, D, E, R5> funcFifth) <T> TtoString()Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface lu.kbra.pclib.datastructure.DeepCloneable
deepClone
-
Field Details
-
first
-
second
-
third
-
fourth
-
fifth
-
-
Constructor Details
-
Quintuple
public Quintuple() -
Quintuple
-
-
Method Details
-
asArray
-
clone
- Specified by:
clonein interfaceDeepCloneable- Overrides:
clonein classObject
-
elementCount
public int elementCount()- Specified by:
elementCountin interfaceTuple
-
equals
-
get
public <T> T get(int i) -
getFifth
-
getFirst
-
getFourth
-
getSecond
-
getThird
-
hashCode
public int hashCode() -
map
-
map
-
mapFifth
-
mapFirst
-
mapFourth
-
mapSecond
-
mapThird
-
setFifth
-
setFirst
-
setFourth
-
setSecond
-
setThird
-
toString
-