public static interface CanonicalMap.MutableCanonicalMap extends CanonicalMap, PathMap.MutablePathMap<String>, PropertiesAccessorMixin.PropertiesMutatorMixin, Map<String,String>
CanonicalMap.CanonicalMapBuilder, CanonicalMap.MutableCanonicalMap
PropertiesAccessorMixin.PropertiesBuilderMixin<T>, PropertiesAccessorMixin.PropertiesMixin, PropertiesAccessorMixin.PropertiesMutatorMixin
PathMap.MutablePathMap<T>, PathMap.PathMapBuilder<T>
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
org.refcodes.mixin.TypeAccessor.TypeMutator<T>, org.refcodes.mixin.TypeAccessor.TypeProperty<T>
Dictionary.MutableDictionary.DictionaryBuilder<K,V,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
Dictionary.MutableDictionary<K,V>
Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
DEFAULT_COMMENT
Modifier and Type | Method and Description |
---|---|
default boolean |
containsValue(Object value)
This method is defined for the sake of
Map conformity. |
default String |
delete(String aKey)
Removes an element identified by the given key.
|
default void |
insert(CanonicalMap aFrom)
Method to semantically emphasize that we support our own types.
|
default void |
insert(String aToPath,
CanonicalMap aFrom,
String aFromPath)
Method to semantically emphasize that we support our own types.
|
default void |
insertFrom(CanonicalMap aFrom,
String aFromPath)
Method to semantically emphasize that we support our own types.
|
default void |
insertTo(String aToPath,
CanonicalMap aFrom)
Method to semantically emphasize that we support our own types.
|
default String |
put(Relation<String,String> aRelation)
Adds the given element related to the given key.
|
default void |
putAll(CanonicalMap aProperties)
This method inserts all elements (key/value-pairs) found in the
provided
CanonicalMap instances of interoperability reasons. |
default void |
putAll(Map<? extends String,? extends String> aProperties) |
default void |
putAll(Properties aProperties)
This method inserts all elements (key/value-pairs) found in the
provided
Properties instances of interoperability
reasons. |
default Map<String,String> |
toDump(Map<String,String> aDump) |
default String |
toSourceCode()
Beta, don't know whether to keep this or not: Creates a class (a
String text to be copy'n'pasted) with getters and setters for
the herein contained paths and their values. |
default String |
toSourceCode(String aClassName,
String aPackage)
Beta, don't know whether to keep this or not: Creates a class (a
String text to be copy'n'pasted) with getters and setters for
the herein contained paths and their values. |
childrenOf, retrieve, retrieveFrom, retrieveTo, toInstance, toInstance, toType, toType
containsKey, get, getBoolean, getBoolean, getByte, getByte, getCharacter, getCharacter, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLong, getLong, getShort, getShort, use, useBoolean, useBoolean, useByte, useByte, useDouble, useDouble, useFloat, useFloat, useInteger, useInteger, useLong, useLong, useShort, useShort
insert, insert, insert, insert, insertFrom, insertFrom, insertTo, insertTo, put, putArray, putArray, removeAll
directories, directories, entries, entries, fromExternalKey, getArray, getArray, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPath, toRootPath
isEmpty, size
put
clear, compute, computeIfAbsent, computeIfPresent, containsKey, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
put, put, putBoolean, putBoolean, putByte, putByte, putDouble, putDouble, putFloat, putFloat, putInteger, putInteger, putLong, putLong, putShort, putShort
default String put(Relation<String,String> aRelation)
put
in interface Dictionary.MutableDictionary<String,String>
put
in interface PathMap.MutablePathMap<String>
aRelation
- the a relationdefault String delete(String aKey)
delete
in interface Keys.MutableKeys<String,String>
delete
in interface PathMap.MutablePathMap<String>
aKey
- The key which's element is to be removed.default boolean containsValue(Object value)
Map
conformity.
Tests whether the provided value has a key assigned.containsValue
in interface CanonicalMap
containsValue
in interface Keys<String,String>
containsValue
in interface Map<String,String>
value
- The value to test if a key references this value.default void putAll(CanonicalMap aProperties)
CanonicalMap
instances of interoperability reasons.aProperties
- A CanonicalMap
containing the key/value
pairs to be inserted.default void putAll(Properties aProperties)
Properties
instances of interoperability
reasons.aProperties
- A Properties
containing the
key/value-pairs to be inserted.default String toSourceCode()
String
text to be copy'n'pasted) with getters and setters for
the herein contained paths and their values.default String toSourceCode(String aClassName, String aPackage)
String
text to be copy'n'pasted) with getters and setters for
the herein contained paths and their values.aClassName
- The class name for the class to be generated.aPackage
- The package to which the class is to belong.default Map<String,String> toDump(Map<String,String> aDump)
toDump
in interface org.refcodes.mixin.Dumpable
default void insert(CanonicalMap aFrom)
PathMap.MutablePathMap.insert(Object)
.aFrom
- The CanonicalMap
which is to be inspected with
the therein contained values being added with their according
determined paths.default void insertFrom(CanonicalMap aFrom, String aFromPath)
PathMap.MutablePathMap.insertFrom(Object, String)
.aFrom
- The CanonicalMap
which is to be inspected with
the therein contained values being added with their according
determined paths.aFromPath
- The path from where to start adding elements of the
provided object.default void insertTo(String aToPath, CanonicalMap aFrom)
PathMap.MutablePathMap.insertTo(String, Object)
.aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The CanonicalMap
which is to be inspected with
the therein contained values being added with their according
determined paths.default void insert(String aToPath, CanonicalMap aFrom, String aFromPath)
PathMap.MutablePathMap.insert(String, Object, String)
.aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The CanonicalMap
which is to be inspected with
the therein contained values being added with their according
determined paths.aFromPath
- The path from where to start adding elements of the
provided object.Copyright © 2018. All rights reserved.