public static class PropertiesImpl.MutablePropertiesImpl extends PropertiesImpl implements Properties.MutableProperties
PropertiesImpl.MutablePropertiesImpl, PropertiesImpl.PropertiesBuilderImplProperties.ClearableProperties, Properties.MutableProperties, Properties.PropertiesBuilderDictionary.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, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmpty, sizecontainsKey, get, keySet, valuespublic MutablePropertiesImpl()
public MutablePropertiesImpl(Map<?,?> aProperties)
public MutablePropertiesImpl(Properties aProperties)
public void clear()
Clearablepublic String put(String aKey, String aValue)
Dictionary.MutableDictionaryput 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.MutableDictionaryput in interface Dictionary.MutableDictionary<String,String>public String put(Property aProperty)
put in interface Properties.MutablePropertiespublic String removeKey(String aKey)
Keys.MutableKeysremoveKey in interface Keys.MutableKeys<String,String>aKey - The key which's element is to be removed.Copyright © 2016. All rights reserved.