K - V - public final class Pair<K,V>
extends java.lang.Object
| Constructor and Description |
|---|
Pair(K key,
V value)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
K |
getKey()
Returns the key.
|
V |
getValue()
Returns the value.
|
int |
hashCode() |
java.lang.String |
toString() |
public K getKey()
public V getValue()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.