Class ConfigurationMapImpl
-
- All Implemented Interfaces:
ConfigurationMap,Map<String,String>
public final class ConfigurationMapImpl extends com.google.common.collect.ForwardingMap<String,String> implements ConfigurationMap
A delegatingMapimplementation with type converters
-
-
Constructor Summary
Constructors Constructor Description ConfigurationMapImpl()ConfigurationMapImpl(Map<String,String> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>delegate()booleangetAsBoolean(String key)Returns the value with the specified key asBooleanlonggetAsLong(String key)Returns the value with the specified key asLong-
Methods inherited from class com.google.common.collect.ForwardingMap
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getAsBoolean
public boolean getAsBoolean(String key)
Description copied from interface:ConfigurationMapReturns the value with the specified key asBoolean- Specified by:
getAsBooleanin interfaceConfigurationMap- Returns:
- value as boolean
-
getAsLong
public long getAsLong(String key) throws NumberFormatException
Description copied from interface:ConfigurationMapReturns the value with the specified key asLong- Specified by:
getAsLongin interfaceConfigurationMap- Returns:
- value as long
- Throws:
NumberFormatException
-
-