public class Pair<K,V> extends Object implements Map.Entry<K,V>
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object object) |
K |
getKey() |
V |
getValue() |
int |
hashCode() |
void |
setKey(K key) |
V |
setValue(V value) |
comparingByKey, comparingByKey, comparingByValue, comparingByValuepublic void setKey(K key)
Copyright © 2022. All rights reserved.