K
- type of the keyV
- type of the valuepublic final class KV<K,V>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
K |
getKey() |
V |
getValue() |
int |
hashCode() |
static <K,V> KV<K,V> |
of(K key,
V value) |
java.lang.String |
toString() |
public static <K,V> KV<K,V> of(K key, V value)
public K getKey()
public V getValue()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object