Package edu.wisc.game.parser
Class Expression.MapTo<T>
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
HashSet<T>>
- Direct Known Subclasses:
Expression.VarMap
,Expression.VarMap2
- Enclosing interface:
Expression
A HashMap storing a set of values of a given type T for each key
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Constructor Details
-
MapTo
public MapTo()
-
-
Method Details
-
addValue
Adds a value to the list of values associated with a specified key -
toString
- Overrides:
toString
in classAbstractMap<String,
HashSet<T>>
-
pu
- Parameters:
key
- A variable name, such as "p", "pc", "ps", or "propName.propValue"
-
pu
-
putSet
-