Package org.nuclos.api
Class PreferencesImpl
- All Implemented Interfaces:
Serializable
,ConcurrentMap<String,
,Serializable> Map<String,
,Serializable> Preferences
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,
V extends Object> 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> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPreference
(String preference) <S extends Serializable>
SgetPreference
(String preference, Class<S> cls) void
removePreference
(String preference) void
setPreference
(String preference, Serializable value) Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
Methods inherited from class java.util.AbstractMap
clone
-
Constructor Details
-
PreferencesImpl
public PreferencesImpl()
-
-
Method Details
-
setPreference
- Specified by:
setPreference
in interfacePreferences
-
removePreference
- Specified by:
removePreference
in interfacePreferences
-
getPreference
- Specified by:
getPreference
in interfacePreferences
-
getPreference
- Specified by:
getPreference
in interfacePreferences
-
getPreferenceNames
- Specified by:
getPreferenceNames
in interfacePreferences
-