K - The type of the key.V - The type of the value which relates to a key.public static interface Dictionary.MutableDictionary<K,V> extends Dictionary.ClearableDictionary<K,V>, Keys.MutableKeys<K,V>
Dictionary with mutable (writable) functionality,
especially by providing #add(Object) and #remove(Object)
methods.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Dictionary.MutableDictionary.DictionaryBuilder<K,V,T extends org.refcodes.structure.Relation<K,V>,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,T,B>>
Provides a builder method for a
Relation property returning
the builder for applying multiple build operations. |
Dictionary.ClearableDictionary<K,V>, Dictionary.MutableDictionary<K,V>Keys.ClearableKeys<K,V>, Keys.MutableKeys<K,V>| Modifier and Type | Method and Description |
|---|---|
V |
put(K aKey,
V aValue)
Adds the given element related to the given key.
|
V |
put(org.refcodes.structure.Relation<K,V> aRelation)
Adds the given element related to the given key.
|
isEmpty, sizecontainsKey, get, keySet, valuesremoveByKeyV put(K aKey, V aValue)
aKey - The key for which to add the element.aValue - The value to be related with the given key.V put(org.refcodes.structure.Relation<K,V> aRelation)
aKey - The key for which to add the element.aValue - The value to be related with the given key.Copyright © 2017. All rights reserved.