Package org.kuali.rice.krad.uif.util
Class BooleanMap
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Boolean>
Map implementation takes a
Set of Strings and converts to Map
where the string is the map key and value is the Boolean true, convenience
collection for expression language.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionBooleanMap(Map<? extends String, ? extends Boolean> m) Copy constructor.BooleanMap(Set<String> keys) Sets an initial value ofBoolean.TRUEfor a given provided set of keys. -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
BooleanMap
Copy constructor.- Parameters:
m- map to copy
-
BooleanMap
Sets an initial value ofBoolean.TRUEfor a given provided set of keys.- Parameters:
keys- set of keys to map toBoolean.TRUE
-
-
Method Details