kylm.util
Class KylmPair<T,U>

java.lang.Object
  extended by kylm.util.KylmPair<T,U>
Type Parameters:
T - The type of the first value
U - The type of the second value

public class KylmPair<T,U>
extends java.lang.Object

A data structure to handle a pair of values

Author:
neubig

Constructor Summary
KylmPair(T f, U s)
           
 
Method Summary
 boolean equals(java.lang.Object oth)
           
 T getFirst()
           
 U getSecond()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KylmPair

public KylmPair(T f,
                U s)
Method Detail

getFirst

public T getFirst()

getSecond

public U getSecond()

hashCode

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

equals

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