Interface Dictionary.MutableDictionary.DictionaryBuilder<K,V,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>

Type Parameters:
K - the key type
V - The type of the value which relates to a key.
B - The builder to return in order to be able to apply multiple build operations.
All Superinterfaces:
org.refcodes.mixin.Clearable, Containable, Dictionary<K,V>, Dictionary.MutableDictionary<K,V>, org.refcodes.mixin.EmptyAccessor, Keys<K,V>, Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
All Known Subinterfaces:
CanonicalMap.CanonicalMapBuilder, ClassStructMap.ClassStructMapBuilder, InterOperableMap.InterOperableMapBuilder<T>, PathMap.PathMapBuilder<T>, SimpleTypeMap.SimpleTypeMapBuilder
All Known Implementing Classes:
CanonicalMapBuilderImpl, ClassStructMapBuilderImpl, PathMapBuilderImpl, SimpleTypeMapBuilderImpl
Enclosing interface:
Dictionary.MutableDictionary<K,V>

public static interface Dictionary.MutableDictionary.DictionaryBuilder<K,V,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>> extends Dictionary.MutableDictionary<K,V>
Provides a builder method for a Relation property returning the builder for applying multiple build operations.
  • Method Details

    • withPut

      B withPut(K aKey, V aValue)
      Parameters:
      aKey - the key for the property to be put.
      aValue - the value for the property to be put.
      Returns:
      The implementing instance as of the builder pattern.
    • withPut

      B withPut(Relation<K,V> aRelation)
      Parameters:
      aRelation - the property to be put.
      Returns:
      The implementing instance as of the builder pattern.