public class CanonicalMapBuilderImpl extends PathMapBuilderImpl<String> implements CanonicalMap.CanonicalMapBuilder
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>CanonicalMap.CanonicalMapBuilder, CanonicalMap.MutableCanonicalMapPathMap.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.DelimiterPropertyorg.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>PropertiesAccessorMixin.PropertiesBuilderMixin<T>, PropertiesAccessorMixin.PropertiesMixin, PropertiesAccessorMixin.PropertiesMutatorMixinDEFAULT_COMMENT| Constructor and Description |
|---|
CanonicalMapBuilderImpl()
Instantiates a new canonical map builder impl.
|
CanonicalMapBuilderImpl(Map<?,?> aProperties)
Instantiates a new canonical map builder impl.
|
CanonicalMapBuilderImpl(Object aObj)
Instantiates a new canonical map builder impl.
|
| Modifier and Type | Method and Description |
|---|---|
CanonicalMap |
retrieveFrom(String aFromPath)
|
CanonicalMap |
retrieveTo(String aToPath)
|
compute, computeIfAbsent, computeIfPresent, containsKey, get, getDelimiter, getOrDefault, getType, merge, put, putIfAbsent, remove, remove, replace, replace, toDataStructureclear, clone, containsValue, entrySet, forEach, isEmpty, keySet, putAll, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitwithInsert, withInsert, withInsert, withInsert, withInsertFrom, withInsertFrom, withInsertTo, withInsertTo, withPut, withPut, withPutBoolean, withPutByte, withPutDouble, withPutFloat, withPutInteger, withPutLong, withPutShort, withRemoveFromwithInsert, withInsert, withInsertFrom, withInsertTocontainsValue, delete, insert, insert, insertFrom, insertTo, put, putAll, putAll, putAll, toDump, toSourceCoderetrieve, toInstance, toInstance, toType, toTypeinsert, insert, insert, insert, insertFrom, insertFrom, insertTo, insertTo, put, putArray, putArray, removeAlldirectories, 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, toRootPathisEmpty, sizeclear, compute, computeIfAbsent, computeIfPresent, containsKey, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valueswithPutcontainsKey, 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, useShortput, put, putBoolean, putBoolean, putByte, putByte, putDouble, putDouble, putFloat, putFloat, putInteger, putInteger, putLong, putLong, putShort, putShortpublic CanonicalMapBuilderImpl()
public CanonicalMapBuilderImpl(Object aObj)
aObj - the a objpublic CanonicalMapBuilderImpl(Map<?,?> aProperties)
aProperties - the a propertiespublic CanonicalMap retrieveFrom(String aFromPath)
PathMap from the elements of this PathMap
found below the "from-path". The sub-paths will be the root paths for the
new PathMap.
Given we have a value for path "/dog/cat" in the PathMap and we
call PathMap.retrieveFrom(String) with "/dog", then the resulting
PathMap will contain the path "/cat" for that value.retrieveFrom in interface CanonicalMapretrieveFrom in interface PathMap<String>retrieveFrom in class PathMapBuilderImpl<String>aFromPath - The path from where to start extracting the paths.PathMap with the elements below the provided path
which are root elements in the new PathMap.public CanonicalMap retrieveTo(String aToPath)
PathMap from this PathMap's elements with
the paths relocated to the provided "to-path".
Given we have a value for path "/dog/cat" in the PathMap and we
call PathMap.retrieveTo(String) with "/animals", then the resulting
PathMap will contain the path "/animals/dog/cat" for that value.retrieveTo in interface CanonicalMapretrieveTo in interface PathMap<String>retrieveTo in class PathMapBuilderImpl<String>aToPath - The path where to relocate the paths of this
PathMap to.PathMap with the elements from the provided
PathMap with accordingly relocated paths.Copyright © 2017. All rights reserved.