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

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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Provides a builder method for a Relation property returning the builder for applying multiple build operations.

    Nested classes/interfaces inherited from interface org.refcodes.mixin.EmptyAccessor

    org.refcodes.mixin.EmptyAccessor.EmptyBuilder<B extends org.refcodes.mixin.EmptyAccessor.EmptyBuilder<B>>, org.refcodes.mixin.EmptyAccessor.EmptyMutator, org.refcodes.mixin.EmptyAccessor.EmptyProperty

    Nested classes/interfaces inherited from interface org.refcodes.struct.Keys

    Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>

    Nested classes/interfaces inherited from interface org.refcodes.struct.Table

    Table.TableDictionary<K,V>
  • Method Summary

    Modifier and Type
    Method
    Description
    put(Relation<K,V> aRelation)
    Adds the given element related to the given key.

    Methods inherited from interface org.refcodes.mixin.Clearable

    clear

    Methods inherited from interface org.refcodes.struct.Containable

    size

    Methods inherited from interface org.refcodes.mixin.EmptyAccessor

    isEmpty

    Methods inherited from interface org.refcodes.struct.Keys

    containsKey, containsValue, get, getOr, keySet, use, values

    Methods inherited from interface org.refcodes.struct.Keys.MutableKeys

    delete

    Methods inherited from interface org.refcodes.struct.Keys.MutableValues

    put
  • 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.