public static class PropertiesImpl.MutablePropertiesImpl extends PropertiesImpl implements Properties.MutableProperties
PropertiesImpl.MutablePropertiesImpl, PropertiesImpl.PropertiesBuilderImpl
Properties.ClearableProperties, Properties.MutableProperties, Properties.PropertiesBuilder
Dictionary.MutableDictionary.DictionaryBuilder<K,V,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
Dictionary.ClearableDictionary<K,V>, Dictionary.MutableDictionary<K,V>
Keys.ClearableKeys<K,V>, Keys.MutableKeys<K,V>
_properties
Constructor and Description |
---|
MutablePropertiesImpl() |
MutablePropertiesImpl(Map<?,?> aProperties) |
MutablePropertiesImpl(Properties aProperties) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all elements contained in the implementing instance.
|
String |
put(Property aProperty) |
String |
put(Relation<String,String> aRelation)
Adds the given element related to the given key.
|
String |
put(String aKey,
String aValue)
Adds the given element related to the given key.
|
String |
removeKey(String aKey)
Removes an element identified by the given key.
|
containsKey, get, isEmpty, keySet, size, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmpty, size
containsKey, get, keySet, values
public MutablePropertiesImpl()
public MutablePropertiesImpl(Map<?,?> aProperties)
public MutablePropertiesImpl(Properties aProperties)
public void clear()
Clearable
public String put(String aKey, String aValue)
Dictionary.MutableDictionary
put
in interface Dictionary.MutableDictionary<String,String>
aKey
- The key for which to add the element.aValue
- The value to be related with the given key.public String put(Relation<String,String> aRelation)
Dictionary.MutableDictionary
put
in interface Dictionary.MutableDictionary<String,String>
public String put(Property aProperty)
put
in interface Properties.MutableProperties
public String removeKey(String aKey)
Keys.MutableKeys
removeKey
in interface Keys.MutableKeys<String,String>
aKey
- The key which's element is to be removed.Copyright © 2016. All rights reserved.