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,T extends org.refcodes.structure.Relation<K,V>,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,T,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.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
put(org.refcodes.structure.Property aProperty)
Puts the key/value-pair from the provided
Property . |
String |
put(org.refcodes.structure.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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
putAll, putAll, putAll
toMap, toProperties
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(org.refcodes.structure.Relation<String,String> aRelation)
Dictionary.MutableDictionary
put
in interface Dictionary.MutableDictionary<String,String>
public String put(org.refcodes.structure.Property aProperty)
Properties.MutableProperties
Property
.put
in interface Properties.MutableProperties
aProperty
- The property's key/value to be inserted.public String removeKey(String aKey)
Keys.MutableKeys
removeKey
in interface Keys.MutableKeys<String,String>
aKey
- The key which's element is to be removed.public int hashCode()
hashCode
in class PropertiesImpl
public boolean equals(Object obj)
equals
in class PropertiesImpl
Copyright © 2016. All rights reserved.