MapUtilsMapKeyExtension<M, T> extension
- on
-
- Map<
M, T> ?
- Map<
Methods
-
addItem(
M key, T value) → Map< M, T> ? -
Available on Map<
添加元素到map中M, T> ?, provided by the MapUtilsMapKeyExtension extensionkey
元素keyvalue
元素value -
getValue<
T> (M key, [T? defaultValue]) → T? -
Available on Map<
获取map valueM, T> ?, provided by the MapUtilsMapKeyExtension extensionkey
map->keydefaultValue
不在存在时返回默认值 -
isEmptyMap(
) → bool -
Available on Map<
判断是否空map key-valueM, T> ?, provided by the MapUtilsMapKeyExtension extension -
isNotEmptyMap(
) → bool -
Available on Map<
判断map为非空M, T> ?, provided by the MapUtilsMapKeyExtension extension -
merge(
Map< M, T> items) → Map<M, T> -
Available on Map<
合并两个map对象M, T> ?, provided by the MapUtilsMapKeyExtension extensionitems
要合并的map集合 -
removeKeys(
List< M> keys) → void -
Available on Map<
移除map中对应key的数据M, T> ?, provided by the MapUtilsMapKeyExtension extensionkeys
map keys