edu.ksu.cis.cadena.core.util
Class Triple<T1,T2,T3>

java.lang.Object
  extended by edu.ksu.cis.cadena.core.util.Triple<T1,T2,T3>

public class Triple<T1,T2,T3>
extends java.lang.Object

Implementation of a generic 3-tuple.

Author:
Matt Hoosier

Field Summary
 T1 first
           
 T2 second
           
 T3 third
           
 
Constructor Summary
Triple(T1 first, T2 second, T3 third)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

first

public final T1 first

second

public final T2 second

third

public final T3 third
Constructor Detail

Triple

public Triple(T1 first,
              T2 second,
              T3 third)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object