public class MapPropSupport extends Object implements IPropSupport
| Constructor and Description |
|---|
MapPropSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
清除所有属性
|
<V> V |
computeIfAbsent(String key,
Function<String,Object> mappingFunction)
get 或者生成值
|
boolean |
containsKey(String key)
是否存在 key
|
<T> T |
get(String key)
获取属性
|
void |
remove(String key)
删除属性
|
void |
set(String key,
Object value)
设置属性
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getAndRemove, getAndRemovepublic void clear()
IPropSupportclear in interface IPropSupportpublic <T> T get(String key)
IPropSupportget in interface IPropSupportT - 泛型key - keypublic <V> V computeIfAbsent(String key, Function<String,Object> mappingFunction)
IPropSupportcomputeIfAbsent in interface IPropSupportV - 泛型key - keymappingFunction - mappingFunctionpublic boolean containsKey(String key)
IPropSupportcontainsKey in interface IPropSupportkey - keypublic void remove(String key)
IPropSupportremove in interface IPropSupportkey - keypublic void set(String key, Object value)
IPropSupportset in interface IPropSupportkey - keyvalue - valueCopyright © 2025. All rights reserved.