K
- 键类型V
- 值类型public class MutableEntry<K,V> extends AbsEntry<K,V> implements Mutable<Map.Entry<K,V>>, Serializable
Map.Entry
实现,可以修改键和值Constructor and Description |
---|
MutableEntry(K key,
V value)
构造
|
Modifier and Type | Method and Description |
---|---|
Map.Entry<K,V> |
get()
获得原始值
|
K |
getKey()
获取键
|
V |
getValue()
获取值
|
static <K,V> MutableEntry<K,V> |
of(K key,
V value)
创建
MutableEntry |
void |
set(Map.Entry<K,V> pair)
设置值
|
K |
setKey(K key)
设置键
|
V |
setValue(V value)
设置值
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
map, of, of, of, of, of, of, of, of, peek, test, to, toOpt
comparingByKey, comparingByKey, comparingByValue, comparingByValue
Copyright © 2025. All rights reserved.