org.javimmutable.collections
Class Tuple4<A,B,C,D>
java.lang.Object
org.javimmutable.collections.Tuple4<A,B,C,D>
- Type Parameters:
A
- B
- C
- D
-
@Immutable
public class Tuple4<A,B,C,D>
- extends Object
Immutable container for 4 values.
Constructor Summary |
Tuple4(A first,
B second,
C third,
D fourth)
|
Tuple4
public Tuple4(A first,
B second,
C third,
D fourth)
of
public static <A,B,C,D> Tuple4<A,B,C,D> of(A first,
B second,
C third,
D fourth)
getFirst
public A getFirst()
getSecond
public B getSecond()
getThird
public C getThird()
getFourth
public D getFourth()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2014 Burton Computer Corporation. All rights reserved.