org.kuali.rice.krad.uif.util
Class BooleanMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Boolean>
org.kuali.rice.krad.uif.util.BooleanMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Boolean>
public class BooleanMap
- extends HashMap<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:
- Serialized Form
Method Summary |
Boolean |
get(Object key)
Overrides the get method to return Boolean false if the key does not
exist in the Map |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
BooleanMap
public BooleanMap(Set<String> keys)
get
public Boolean get(Object key)
- Overrides the get method to return Boolean false if the key does not
exist in the Map
- Specified by:
get
in interface Map<String,Boolean>
- Overrides:
get
in class HashMap<String,Boolean>
- See Also:
HashMap.get(java.lang.Object)
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.