Package org.apache.juneau.cp
Class DefaultSettingsMap
java.lang.Object
org.apache.juneau.cp.DefaultSettingsMap
A list of default settings.
 
Consists of a simple string-keyed map of arbitrary objects.
Notes:
- This class is not thread safe.
See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConstructor.Copy constructor
- 
Method SummaryModifier and TypeMethodDescriptioncopy()Creates a copy of this map.static DefaultSettingsMapcreate()Static creator.<T> Optional<T>Returns the value of the specified setting if it exists.Sets the specified setting value.
- 
Constructor Details- 
DefaultSettingsMapprotected DefaultSettingsMap()Constructor.
- 
DefaultSettingsMapCopy constructor- Parameters:
- value- The object to copy.
 
 
- 
- 
Method Details- 
createStatic creator.- Returns:
- A new object.
 
- 
setSets the specified setting value.- Parameters:
- name- The setting name.
- value- The setting value.
- Returns:
- This object.
 
- 
getReturns the value of the specified setting if it exists.- Type Parameters:
- T- The return type.
- Parameters:
- type- The setting type.
- name- The setting name.
- Returns:
- The setting value.
 
- 
copyCreates a copy of this map.- Returns:
- A copy of this map.
 
 
-