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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.