public interface Dict<R>
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsDictKey(Number dictKey)
是否包含某个字典key
|
boolean |
containsDictValue(R r)
是否包含某个字段
|
void |
decrDictCount(Number dictKey,
int count)
减少一个字典key的数量
|
Map<Number,R> |
dictAll()
所有字典键值
|
Set<R> |
dictValues()
所有字典值
|
Number |
getDictKey(R r)
查询字段值对应的字典key
|
R |
getDictValue(Number dictKey)
查询字典key对应的字段值
|
int |
getSize()
字典数量
|
void |
putDict(Number dictKey,
R dictValue)
新增一个字典
|
void |
putDictObj(Number dictKey,
Object dictValue)
新增一个字典
|
void |
removeDictKey(Number dictKey)
删除一个字典key
|
int getSize()
void putDictObj(Number dictKey, Object dictValue)
dictKey - 字典keydictValue - 字段值boolean containsDictKey(Number dictKey)
dictKey - 字典keyboolean containsDictValue(R r)
r - 字段void decrDictCount(Number dictKey, int count)
dictKey - 字典keycount - 减少的数量void removeDictKey(Number dictKey)
dictKey - 字典keyCopyright © 2024. All rights reserved.