org.apache.pivot.collections
Class Dictionary.Pair<K,V>
java.lang.Object
org.apache.pivot.collections.Dictionary.Pair<K,V>
- All Implemented Interfaces:
- Serializable
- Enclosing interface:
- Dictionary<K,V>
public static final class Dictionary.Pair<K,V>
- extends Object
- implements Serializable
Class representing a key/value pair.
- See Also:
- Serialized Form
key
public final K key
value
public final V value
Dictionary.Pair
public Dictionary.Pair(K key,
V value)
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object