Utility methods for the views project
Type | Name and description |
---|---|
static boolean |
getBooleanFromMap(java.lang.String key, java.util.Map<?, ?> map, boolean defaultValue = false) Retrieves a boolean value from a Map for the given key |
static java.util.List<java.lang.String> |
getStringListFromMap(java.lang.String key, java.util.Map map, java.util.List<java.lang.String> defaultValue = []) Obtains a list of strings from the map for the given key |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Retrieves a boolean value from a Map for the given key
key
- The key that references the boolean valuemap
- The map to look inObtains a list of strings from the map for the given key
key
- The keymap
- The map