org.javimmutable.collections
Class Tuple3<A,B,C>
java.lang.Object
org.javimmutable.collections.Tuple3<A,B,C>
- Type Parameters:
A
- B
- C
-
@Immutable
public class Tuple3<A,B,C>
- extends Object
Immutable container for 3 values.
Constructor Summary |
Tuple3(A first,
B second,
C third)
|
Tuple3
public Tuple3(A first,
B second,
C third)
of
public static <A,B,C> Tuple3<A,B,C> of(A first,
B second,
C third)
getFirst
public A getFirst()
getSecond
public B getSecond()
getThird
public C getThird()
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.