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:
org.refcodes.mixin.Clearable, Containable, Dictionary<K,V>, org.refcodes.mixin.EmptyAccessor, Keys<K,V>, Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
All Known Subinterfaces:
CanonicalMap.CanonicalMapBuilder, CanonicalMap.MutableCanonicalMap, ClassStructMap.ClassStructMapBuilder, ClassStructMap.MutableClassStructMap, Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>, InterOperableMap.InterOperableMapBuilder<T>, InterOperableMap.MutableInterOperableMap<T>, PathMap.MutablePathMap<T>, PathMap.PathMapBuilder<T>, SimpleTypeMap.MutableSimpleTypeMap, SimpleTypeMap.SimpleTypeMapBuilder
All Known Implementing Classes:
CanonicalMapBuilderImpl, ClassStructMapBuilderImpl, PathMapBuilderImpl, SimpleTypeMapBuilderImpl
Enclosing interface:
Dictionary<K,V>

public static interface Dictionary.MutableDictionary<K,V> extends Dictionary<K,V>, Keys.MutableValues<K,V>
Extends the Dictionary with mutable (writable) functionality, ehttps://www.metacodes.proly by providing Keys.MutableValues.put(Object, Object) and Keys.MutableKeys.delete(String) methods.
  • Method Details

    • put

      V put(Relation<K,V> aRelation)
      Adds the given element related to the given key.
      Parameters:
      aRelation - the relation
      Returns:
      The value being replaced by the provided value or null if none value has been replaced.