Package edu.wisc.game.tools.pooling
Class LabelMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,String>
-
- edu.wisc.game.tools.pooling.LabelMap
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,String>
public class LabelMap extends HashMap<String,String>
Maps "false.someThingXandY" to "X", etc. This is used in compact labeling of conditions.The underlying HashMap may map "some_foo" to "F"; the method map1() will map "true.some_foo" to "F", and "false.some_foo" to "F". The method mapCond() may map "true.some_foo:false.other_bar" to "Fb".
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] argv)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-