Package org.refcodes.structure
Interface Dictionary.MutableDictionary<K,V>
-
- Type Parameters:
K
- The type of the key.V
- The type of the value which relates to a key.
- All Superinterfaces:
Clearable
,Containable
,Dictionary<K,V>
,Keys<K,V>
,Keys.MutableKeys<K,V>
,Keys.MutableValues<K,V>
- All Known Subinterfaces:
CanonicalMap.CanonicalMapBuilder
,CanonicalMap.MutableCanonicalMap
,Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>
,PathMap.MutablePathMap<T>
,PathMap.PathMapBuilder<T>
- All Known Implementing Classes:
CanonicalMapBuilderImpl
,PathMapBuilderImpl
- Enclosing interface:
- Dictionary<K,V>
public static interface Dictionary.MutableDictionary<K,V> extends Dictionary<K,V>, Keys.MutableValues<K,V>
Extends theDictionary
with mutable (writable) functionality, especially by providingKeys.MutableValues.put(Object, Object)
andKeys.MutableKeys.delete(String)
methods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Dictionary.MutableDictionary.DictionaryBuilder<K,V,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
Provides a builder method for aRelation
property returning the builder for applying multiple build operations.-
Nested classes/interfaces inherited from interface org.refcodes.structure.Dictionary
Dictionary.MutableDictionary<K,V>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Keys
Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
put(Relation<K,V> aRelation)
Adds the given element related to the given key.-
Methods inherited from interface org.refcodes.structure.Containable
isEmpty, size
-
Methods inherited from interface org.refcodes.structure.Keys
containsKey, containsValue, get, getOr, keySet, use, values
-
Methods inherited from interface org.refcodes.structure.Keys.MutableKeys
delete
-
Methods inherited from interface org.refcodes.structure.Keys.MutableValues
put
-
-