public class CalculatorMap<K,V>
extends java.lang.Object
implements java.util.Map<K,V>, java.io.Serializable
构造器和说明 |
---|
CalculatorMap() |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
static <U> CalculatorMap<java.lang.String,U> |
create(java.util.Map<java.lang.String,U> map)
根据指定的map生成一个算子参数map
|
static CalculatorMap<java.lang.String,java.lang.Object> |
create(ParameterProvider[] ps)
根据指定的参数生成的Map
|
static <T,U> CalculatorMap<T,U> |
createEmptyMap()
生成一个空的Map
|
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> m) |
V |
remove(java.lang.Object key) |
int |
size() |
java.util.Collection<V> |
values() |
public static <T,U> CalculatorMap<T,U> createEmptyMap()
public static CalculatorMap<java.lang.String,java.lang.Object> create(ParameterProvider[] ps)
ps
- 给定的参数数组public static <U> CalculatorMap<java.lang.String,U> create(java.util.Map<java.lang.String,U> map)
map
- 普通的mappublic boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)