org.jmonkeyengine.tralala
Class Pair<Key,Value>
java.lang.Object
org.jmonkeyengine.tralala.Pair<Key,Value>
public class Pair<Key,Value>
- extends java.lang.Object
Encapsulation of 2 objects, the key and its value.
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Pair
public Pair(Key key,
Value value)
Pair
public Pair(Key key)
getKey
public Key getKey()
getValue
public Value getValue()
setKey
public void setKey(Key key)
setValue
public void setValue(Value value)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object