org.javimmutable.collections
Class Tuple3<A,B,C>

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(Object o)
           
 A getFirst()
           
 B getSecond()
           
 C getThird()
           
 int hashCode()
           
static
<A,B,C> Tuple3<A,B,C>
of(A first, B second, C third)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tuple3

public Tuple3(A first,
              B second,
              C third)
Method Detail

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.