public class Pair<K,V> extends Object implements Serializable
protected K
key
protected V
value
Pair()
Pair(K key, V value)
boolean
equals(Object o)
K
getKey()
V
getValue()
int
hashCode()
static <K,V> Pair<K,V>
of(K key, V value)
void
setKey(K key)
setValue(V value)
String
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected K key
protected V value
public Pair()
public Pair(K key, V value)
public static <K,V> Pair<K,V> of(K key, V value)
public K getKey()
public void setKey(K key)
public V getValue()
public void setValue(V value)
public String toString()
toString
Object
public boolean equals(Object o)
equals
public int hashCode()
hashCode
Copyright © 2024–2025. All rights reserved.