K - 键的类型V - 值的类型@Deprecated public class HashMapKit<K,V> extends Object
cn.tenmg.dsl.utils.MapUtils 替换| 构造器和说明 |
|---|
HashMapKit()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
HashMap<K,V> |
get()
已过时。
返回创建的HashMap对象
|
static <K,V> HashMapKit<K,V> |
init(K key,
V value)
已过时。
初始化HashMap配套工具,将键值存入后哈希查找表中,并返回HashMapKit对象
|
static <K,V> HashMapKit<K,V> |
init(Map<K,V> map)
已过时。
初始化HashMap配套工具,将键值存入后哈希查找表中,并返回HashMapKit对象
|
HashMapKit<K,V> |
put(K key,
V value)
已过时。
将指定查找表中的元素全部放入哈希表中
|
HashMapKit<K,V> |
put(Map<K,V> map)
已过时。
将键、值存入希查找表中
|
static <K,V> HashMap<K,V> |
single(K key,
V value)
已过时。
初始化只有一个键值对的HashMap并返回
|
public static <K,V> HashMap<K,V> single(K key, V value)
key - 键value - 值public static <K,V> HashMapKit<K,V> init(K key, V value)
key - 键value - 值public static <K,V> HashMapKit<K,V> init(Map<K,V> map)
map - 查找表对象public HashMapKit<K,V> put(K key, V value)
key - 键value - 值Copyright © 2024 10MG. All rights reserved.