kylm.util
Class KylmPair<T,U>
java.lang.Object
kylm.util.KylmPair<T,U>
- Type Parameters:
T
- The type of the first valueU
- 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
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
KylmPair
public KylmPair(T f,
U s)
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