org.refcodes.mixin.AnnotatorAccessor
, Containable
, org.refcodes.mixin.DelimiterAccessor
, Dictionary<String,T>
, org.refcodes.mixin.Dumpable
, InterOperableMap<String>
, Keys<String,T>
, PathMap<String>
, org.refcodes.mixin.TypeAccessor<String>
CanonicalMap.CanonicalMapBuilder
, CanonicalMap.MutableCanonicalMap
CanonicalMapBuilderImpl
, CanonicalMapImpl
public interface CanonicalMap extends InterOperableMap<String>
CanonicalMap
is an "intermediate" type adding type and
Data-Structure related functionality to any implementing class.Modifier and Type | Interface | Description |
---|---|---|
static interface |
CanonicalMap.CanonicalMapBuilder |
The Interface CanonicalMapBuilder.
|
static interface |
CanonicalMap.MutableCanonicalMap |
The Interface MutableCanonicalMap.
|
org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B extends org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B>>, org.refcodes.mixin.AnnotatorAccessor.AnnotatorMutator, org.refcodes.mixin.AnnotatorAccessor.AnnotatorProperty
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
Dictionary.MutableDictionary<K,V>
InterOperableMap.InterOperableMapBuilder<T>, InterOperableMap.MutableInterOperableMap<T>
Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
PathMap.MutablePathMap<T>, PathMap.PathMapBuilder<T>
org.refcodes.mixin.TypeAccessor.TypeBuilder<T extends Object,B extends org.refcodes.mixin.TypeAccessor.TypeBuilder<T,B>>, org.refcodes.mixin.TypeAccessor.TypeMutator<T extends Object>, org.refcodes.mixin.TypeAccessor.TypeProperty<T extends Object>
Modifier and Type | Method | Description |
---|---|---|
default String[] |
asArray(Object aKey) |
Same as
asArray(String, char) using a comma (',') as delimiter. |
default String[] |
asArray(Object aKey,
char aDelimiter) |
Treats the value associated with the given key as an array with its
elements being the elements of the value separated by the given delimiter
char.
|
default String[] |
asArray(String aKey) |
Same as
asArray(String, char) using a comma (',') as delimiter. |
default String[] |
asArray(String aKey,
char aDelimiter) |
Treats the value associated with the given key as an array with its
elements being the elements of the value separated by the given delimiter
char.
|
default boolean[] |
asBooleanArray(Object aKey) |
Same as
asBooleanArray(String, char) using a comma (',') as
delimiter. |
default boolean[] |
asBooleanArray(Object aKey,
char aDelimiter) |
Treats the value associated with the given key as a boolean array with
its elements being the elements of the value separated by the given
delimiter char.
|
default boolean[] |
asBooleanArray(String aKey) |
Same as
asBooleanArray(String, char) using a comma (',') as
delimiter. |
default boolean[] |
asBooleanArray(String aKey,
char aDelimiter) |
Treats the value associated with the given key as a boolean array with
its elements being the elements of the value separated by the given
delimiter char.
|
default byte[] |
asByteArray(Object aKey) |
Same as
asByteArray(String, char) using a comma (',') as
delimiter. |
default byte[] |
asByteArray(Object aKey,
char aDelimiter) |
Treats the value associated with the given key as a byte array with its
elements being the elements of the value separated by the given delimiter
char.
|
default byte[] |
asByteArray(String aKey) |
Same as
asByteArray(String, char) using a comma (',') as
delimiter. |
default byte[] |
asByteArray(String aKey,
char aDelimiter) |
Treats the value associated with the given key as a byte array with its
elements being the elements of the value separated by the given delimiter
char.
|
default char[] |
asCharArray(Object aKey) |
Same as
asCharArray(String, char) using a comma (',') as
delimiter. |
default char[] |
asCharArray(Object aKey,
char aDelimiter) |
Treats the value associated with the given key as a char array with its
elements being the elements of the value separated by the given delimiter
char.
|
default char[] |
asCharArray(String aKey) |
Same as
asCharArray(String, char) using a comma (',') as
delimiter. |
default char[] |
asCharArray(String aKey,
char aDelimiter) |
Treats the value associated with the given key as a char array with its
elements being the elements of the value separated by the given delimiter
char.
|
default double[] |
asDoubleArray(Object aKey) |
Same as
asDoubleArray(String, char) using a comma (',') as
delimiter. |
default double[] |
asDoubleArray(Object aKey,
char aDelimiter) |
Treats the value associated with the given key as a double array with its
elements being the elements of the value separated by the given delimiter
double.
|
default double[] |
asDoubleArray(String aKey) |
Same as
asDoubleArray(String, char) using a comma (',') as
delimiter. |
default double[] |
asDoubleArray(String aKey,
char aDelimiter) |
Treats the value associated with the given key as a double array with its
elements being the elements of the value separated by the given delimiter
double.
|
default float[] |
asFloatArray(Object aKey) |
Same as
asFloatArray(String, char) using a comma (',') as
delimiter. |
default float[] |
asFloatArray(Object aKey,
char aDelimiter) |
Treats the value associated with the given key as a float array with its
elements being the elements of the value separated by the given delimiter
float.
|
default float[] |
asFloatArray(String aKey) |
Same as
asFloatArray(String, char) using a comma (',') as
delimiter. |
default float[] |
asFloatArray(String aKey,
char aDelimiter) |
Treats the value associated with the given key as a float array with its
elements being the elements of the value separated by the given delimiter
float.
|
default int[] |
asIntArray(Object aKey) |
Same as
asIntArray(String, char) using a comma (',') as
delimiter. |
default int[] |
asIntArray(Object aKey,
char aDelimiter) |
Treats the value associated with the given key as a integer array with
its elements being the elements of the value separated by the given
delimiter char.
|
default int[] |
asIntArray(String aKey) |
Same as
asIntArray(String, char) using a comma (',') as
delimiter. |
default int[] |
asIntArray(String aKey,
char aDelimiter) |
Treats the value associated with the given key as a integer array with
its elements being the elements of the value separated by the given
delimiter char.
|
default long[] |
asLongArray(Object aKey) |
Same as
asLongArray(String, char) using a comma (',') as
delimiter. |
default long[] |
asLongArray(Object aKey,
char aDelimiter) |
Treats the value associated with the given key as a longeger array with
its elements being the elements of the value separated by the given
delimiter char.
|
default long[] |
asLongArray(String aKey) |
Same as
asLongArray(String, char) using a comma (',') as
delimiter. |
default long[] |
asLongArray(String aKey,
char aDelimiter) |
Treats the value associated with the given key as a longeger array with
its elements being the elements of the value separated by the given
delimiter char.
|
default short[] |
asShortArray(Object aKey) |
Same as
asShortArray(String, char) using a comma (',') as
delimiter. |
default short[] |
asShortArray(Object aKey,
char aDelimiter) |
Treats the value associated with the given key as a shorteger array with
its elements being the elements of the value separated by the given
delimiter char.
|
default short[] |
asShortArray(String aKey) |
Same as
asShortArray(String, char) using a comma (',') as
delimiter. |
default short[] |
asShortArray(String aKey,
char aDelimiter) |
Treats the value associated with the given key as a shorteger array with
its elements being the elements of the value separated by the given
delimiter char.
|
default boolean |
containsValue(Object value) |
This method is defined for the sake of
Map conformity. |
default CanonicalMap |
getDir(Object aPath) |
Gets the children elements of the provided parent's path, excluding the
parent's path.
|
default CanonicalMap |
getDir(Object... aPathElements) |
Gets the children elements of the provided parent's path elements,
excluding the parent's path.
|
default CanonicalMap |
getDir(String aPath) |
|
default CanonicalMap |
getDir(String... aPathElements) |
Gets the children elements of the provided parent's path elements,
excluding the parent's path.
|
default CanonicalMap |
getDir(Collection<?> aPathElements) |
Gets the children elements of the provided parent's path elements,
excluding the parent's path.
|
default CanonicalMap |
getDirAt(int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
getDirAt(Object[] aPathElements,
int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
getDirAt(Object aPath,
int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
getDirAt(String[] aPathElements,
int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
getDirAt(String aPath,
int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
getDirAt(Collection<?> aPathElements,
int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
query(Object... aQueryElements) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
query(String aPathQuery) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
query(String... aQueryElements) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
query(Collection<?> aQueryElements) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
query(Pattern aRegExp) |
Queries the keys of the instance using a regular expression as of the
provided
Pattern instance. |
default CanonicalMap |
queryBetween(Object[] aFromPath,
Object[] aPathQuery,
Object[] aToPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryBetween(Object aFromPath,
Object aPathQuery,
Object aToPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryBetween(String[] aFromPath,
String[] aPathQuery,
String[] aToPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryBetween(String aFromPath,
String aPathQuery,
String aToPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryBetween(String aFromPath,
Pattern aRegExp,
String aToPath) |
Queries the keys of the instance using a regular expression as of the
provided
Pattern . |
default CanonicalMap |
queryBetween(Collection<?> aFromPath,
Collection<?> aPathQuery,
Collection<?> aToPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryFrom(Object[] aPathQuery,
Object[] aFromPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryFrom(Object aPathQuery,
Object aFromPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryFrom(String[] aPathQuery,
String[] aFromPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryFrom(String aPathQuery,
String aFromPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryFrom(Collection<?> aPathQuery,
Collection<?> aFromPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryFrom(Pattern aRegExp,
String aFromPath) |
Queries the keys of the instance using a regular expression as of the
provided
Pattern . |
default CanonicalMap |
queryTo(Object[] aPathQuery,
String aToPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryTo(Object aPathQuery,
String aToPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryTo(String[] aPathQuery,
String aToPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryTo(String aPathQuery,
String aToPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryTo(Collection<?> aPathQuery,
String aToPath) |
Queries the keys of the instance using the
PathMatcher ' matching
patterns, similar to the wildcards '*', '?' |
default CanonicalMap |
queryTo(Pattern aRegExp,
String aToPath) |
Queries the keys of the instance using a regular expression as of the
provided
Pattern . |
default CanonicalMap |
retrieveBetween(Object[] aFromPath,
Object[] aToPath) |
|
default CanonicalMap |
retrieveBetween(Object aFromPath,
Object aToPath) |
|
default CanonicalMap |
retrieveBetween(String[] aFromPath,
String[] aToPath) |
|
default CanonicalMap |
retrieveBetween(String aFromPath,
String aToPath) |
|
default CanonicalMap |
retrieveBetween(Collection<?> aFromPath,
Collection<?> aToPath) |
|
default CanonicalMap |
retrieveFrom(Object aParentPath) |
Gets the children elements of the provided parent's path, excluding the
parent's path.
|
default CanonicalMap |
retrieveFrom(Object... aPathElements) |
Gets the children elements of the provided parent's path elements,
excluding the parent's path.
|
CanonicalMap |
retrieveFrom(String aFromPath) |
|
default CanonicalMap |
retrieveFrom(String... aPathElements) |
Gets the children elements of the provided parent's path elements,
excluding the parent's path.
|
default CanonicalMap |
retrieveFrom(Collection<?> aPathElements) |
Gets the children elements of the provided parent's path elements,
excluding the parent's path.
|
default CanonicalMap |
retrieveTo(Object aToPath) |
|
default CanonicalMap |
retrieveTo(Object... aToPathElements) |
|
CanonicalMap |
retrieveTo(String aToPath) |
|
default CanonicalMap |
retrieveTo(String... aToPathElements) |
|
default CanonicalMap |
retrieveTo(Collection<?> aToPathElements) |
|
default Map<String,String> |
toMap() |
This method creates a
Map instance from this CanonicalMap
instance's elements (key/value-pairs) as of interoperability reasons. |
default Properties |
toProperties() |
This method creates a
Properties instance from this
Properties instance's elements (key/value-pairs) as of
interoperability reasons. |
isEmpty, size
getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBooleanOr, getBooleanOr, getBooleanOr, getBooleanOr, getBooleanOr, getByte, getByte, getByte, getByte, getByte, getByteOr, getByteOr, getByteOr, getByteOr, getByteOr, getChar, getChar, getChar, getChar, getChar, getCharOr, getCharOr, getCharOr, getCharOr, getCharOr, getClass, getClass, getClass, getClass, getClass, getClassOr, getClassOr, getClassOr, getClassOr, getClassOr, getDouble, getDouble, getDouble, getDouble, getDouble, getDoubleOr, getDoubleOr, getDoubleOr, getDoubleOr, getDoubleOr, getEnum, getEnum, getEnum, getEnum, getEnum, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getFloat, getFloat, getFloat, getFloat, getFloat, getFloatOr, getFloatOr, getFloatOr, getFloatOr, getFloatOr, getInt, getInt, getInt, getInt, getInt, getIntOr, getIntOr, getIntOr, getIntOr, getIntOr, getLong, getLong, getLong, getLong, getLong, getLongOr, getLongOr, getLongOr, getLongOr, getLongOr, getShort, getShort, getShort, getShort, getShort, getShortOr, getShortOr, getShortOr, getShortOr, getShortOr, getString, getString, getString, getString, getString, getStringOr, getStringOr, getStringOr, getStringOr, getStringOr
containsKey, get, getOr, keySet, use, values
children, children, children, children, children, children, containsKey, containsKey, containsKey, dirs, dirs, dirs, dirs, dirs, dirs, findPaths, fromExternalPath, get, get, get, getArray, getArray, getArray, getArray, getArray, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getRootPath, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, hasChildren, hasChildren, hasChildren, hasChildren, hasChildren, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasParentPath, hasPath, hasPath, hasPath, hasPath, hasSubDirs, hasSubDirs, hasSubDirs, hasSubDirs, hasValue, hasValue, hasValue, hasValue, hasValue, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, isArray, isArray, isArray, isArray, isArray, isArray, isChild, isChild, isChild, isChild, isDir, isDir, isDir, isDir, isDir, isEqualTo, isIndexDir, isIndexDir, isIndexDir, isIndexDir, isIndexDir, isLeaf, isLeaf, isLeaf, isLeaf, isLeaf, isRootPath, keySet, keySet, keySet, keySet, keySet, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, leaves, leaves, leaves, leaves, leaves, leaves, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, paths, paths, paths, paths, paths, paths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, toDataStructure, toDataStructure, toExternalPath, toInstance, toInstance, toLeaf, toMap, toNormalizedPath, toParentPath, toPath, toPath, toPath, toPathElements, toPathList, toPathStack, toPropertyPath, toType, toType
default String[] asArray(Object aKey)
asArray(String, char)
using a comma (',') as delimiter.aKey
- The key, which's value is to be converted to an array.default String[] asArray(Object aKey, char aDelimiter)
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.default String[] asArray(String aKey)
asArray(String, char)
using a comma (',') as delimiter.aKey
- The key, which's value is to be converted to an array.default String[] asArray(String aKey, char aDelimiter)
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.default boolean[] asBooleanArray(Object aKey) throws NumberFormatException
asBooleanArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default boolean[] asBooleanArray(Object aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default boolean[] asBooleanArray(String aKey) throws NumberFormatException
asBooleanArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default boolean[] asBooleanArray(String aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default byte[] asByteArray(Object aKey) throws NumberFormatException
asByteArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default byte[] asByteArray(Object aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default byte[] asByteArray(String aKey) throws NumberFormatException
asByteArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default byte[] asByteArray(String aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default char[] asCharArray(Object aKey) throws NumberFormatException
asCharArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default char[] asCharArray(Object aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default char[] asCharArray(String aKey) throws NumberFormatException
asCharArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default char[] asCharArray(String aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default double[] asDoubleArray(Object aKey) throws NumberFormatException
asDoubleArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default double[] asDoubleArray(Object aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default double[] asDoubleArray(String aKey) throws NumberFormatException
asDoubleArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default double[] asDoubleArray(String aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default float[] asFloatArray(Object aKey) throws NumberFormatException
asFloatArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default float[] asFloatArray(Object aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default float[] asFloatArray(String aKey) throws NumberFormatException
asFloatArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default float[] asFloatArray(String aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default int[] asIntArray(Object aKey) throws NumberFormatException
asIntArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default int[] asIntArray(Object aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default int[] asIntArray(String aKey) throws NumberFormatException
asIntArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default int[] asIntArray(String aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default long[] asLongArray(Object aKey) throws NumberFormatException
asLongArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default long[] asLongArray(Object aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default long[] asLongArray(String aKey) throws NumberFormatException
asLongArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default long[] asLongArray(String aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default short[] asShortArray(Object aKey) throws NumberFormatException
asShortArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default short[] asShortArray(Object aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default short[] asShortArray(String aKey) throws NumberFormatException
asShortArray(String, char)
using a comma (',') as
delimiter.aKey
- The key, which's value is to be converted to an array.NumberFormatException
default short[] asShortArray(String aKey, char aDelimiter) throws NumberFormatException
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of
the future array.NumberFormatException
- thrown in case conversion fails.default boolean containsValue(Object value)
Map
conformity. Tests
whether the provided value has a key assigned.containsValue
in interface Keys<String,T>
value
- The value to test if a key references this value.default CanonicalMap getDirAt(String[] aPathElements, int aIndex)
/root/child/0/0aaa
/root/child/0/0bbb
/root/child/0/0bbb
/root/child/1/1aaa
/root/child/1/1bbb
/root/child/1/1bbb
You will get a result containing all the elements which's keys
begin with "/root/child/1/".The keys of the result will exclude the path
"prefix" "/root/child/1".default CanonicalMap getDirAt(int aIndex)
/0/0aaa
/0/0bbb
/0/0bbb
/1/1aaa
/1/1bbb
/1/1bbb
You will get a result containing all the elements which's keys
begin with "/1/". The keys of the result will exclude the path "prefix"
"/1".default CanonicalMap getDirAt(String aPath, int aIndex)
/root/child/0/0aaa
/root/child/0/0bbb
/root/child/0/0bbb
/root/child/1/1aaa
/root/child/1/1bbb
/root/child/1/1bbb
You will get a result containing all the elements which's keys
begin with "/root/child/1/".The keys of the result will exclude the path
"prefix" "/root/child/1".default CanonicalMap getDirAt(Collection<?> aPathElements, int aIndex)
/root/child/0/0aaa
/root/child/0/0bbb
/root/child/0/0bbb
/root/child/1/1aaa
/root/child/1/1bbb
/root/child/1/1bbb
You will get a result containing all the elements which's keys
begin with "/root/child/1/".The keys of the result will exclude the path
"prefix" "/root/child/1".default CanonicalMap getDirAt(Object aPath, int aIndex)
/root/child/0/0aaa
/root/child/0/0bbb
/root/child/0/0bbb
/root/child/1/1aaa
/root/child/1/1bbb
/root/child/1/1bbb
You will get a result containing all the elements which's keys
begin with "/root/child/1/". The keys of the result will exclude the path
"prefix" "/root/child/1".default CanonicalMap getDirAt(Object[] aPathElements, int aIndex)
/root/child/0/0aaa
/root/child/0/0bbb
/root/child/0/0bbb
/root/child/1/1aaa
/root/child/1/1bbb
/root/child/1/1bbb
You will get a result containing all the elements which's keys
begin with "/root/child/1/".The keys of the result will exclude the path
"prefix" "/root/child/1".default CanonicalMap query(Collection<?> aQueryElements)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.default CanonicalMap query(Object... aQueryElements)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.default CanonicalMap query(Pattern aRegExp)
Pattern
instance.default CanonicalMap query(String aPathQuery)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.default CanonicalMap query(String... aQueryElements)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.default CanonicalMap queryBetween(Collection<?> aFromPath, Collection<?> aPathQuery, Collection<?> aToPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.queryBetween
in interface PathMap<String>
aFromPath
- The path from where to start querying and extracting the
paths.aPathQuery
- The path query including your wildcards.aToPath
- The path where to relocate the result to.default CanonicalMap queryBetween(Object aFromPath, Object aPathQuery, Object aToPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.queryBetween
in interface PathMap<String>
aFromPath
- The path from where to start querying and extracting the
paths.aPathQuery
- The path query including your wildcards.aToPath
- The path where to relocate the result to.default CanonicalMap queryBetween(Object[] aFromPath, Object[] aPathQuery, Object[] aToPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.queryBetween
in interface PathMap<String>
aFromPath
- The path from where to start querying and extracting the
paths.aPathQuery
- The path query including your wildcards.aToPath
- The path where to relocate the result to.default CanonicalMap queryBetween(String aFromPath, Pattern aRegExp, String aToPath)
Pattern
.queryBetween
in interface PathMap<String>
aFromPath
- The path from where to start querying and extracting the
paths.aRegExp
- The regular expression to be used for the query.aToPath
- The path where to relocate the result to.default CanonicalMap queryBetween(String aFromPath, String aPathQuery, String aToPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.queryBetween
in interface PathMap<String>
aFromPath
- The path from where to start querying and extracting the
paths.aPathQuery
- The path query including your wildcards.aToPath
- The path where to relocate the result to.default CanonicalMap queryBetween(String[] aFromPath, String[] aPathQuery, String[] aToPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.queryBetween
in interface PathMap<String>
aFromPath
- The path from where to start querying and extracting the
paths.aPathQuery
- The path query including your wildcards.aToPath
- The path where to relocate the result to.default CanonicalMap queryFrom(Collection<?> aPathQuery, Collection<?> aFromPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.queryFrom
in interface PathMap<String>
aPathQuery
- The path query including your wildcards.aFromPath
- The path from where to start querying and extracting the
paths.default CanonicalMap queryFrom(Object aPathQuery, Object aFromPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.queryFrom
in interface PathMap<String>
aPathQuery
- The path query including your wildcards.aFromPath
- The path from where to start querying and extracting the
paths.default CanonicalMap queryFrom(Object[] aPathQuery, Object[] aFromPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.queryFrom
in interface PathMap<String>
aPathQuery
- The path query including your wildcards.aFromPath
- The path from where to start querying and extracting the
paths.default CanonicalMap queryFrom(Pattern aRegExp, String aFromPath)
Pattern
.queryFrom
in interface PathMap<String>
aRegExp
- The regular expression to be used for the query.aFromPath
- The path from where to start querying and extracting the
paths.default CanonicalMap queryFrom(String aPathQuery, String aFromPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.queryFrom
in interface PathMap<String>
aPathQuery
- The path query including your wildcards.aFromPath
- The path from where to start querying and extracting the
paths.default CanonicalMap queryFrom(String[] aPathQuery, String[] aFromPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.queryFrom
in interface PathMap<String>
aPathQuery
- The path query including your wildcards.aFromPath
- The path from where to start querying and extracting the
paths.default CanonicalMap queryTo(Collection<?> aPathQuery, String aToPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.default CanonicalMap queryTo(Object aPathQuery, String aToPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.default CanonicalMap queryTo(Object[] aPathQuery, String aToPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.default CanonicalMap queryTo(Pattern aRegExp, String aToPath)
Pattern
.default CanonicalMap queryTo(String aPathQuery, String aToPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.default CanonicalMap queryTo(String[] aPathQuery, String aToPath)
PathMatcher
' matching
patterns, similar to the wildcards '*', '?' and '**' known when querying
folders of a filesystem: The PathMatcher
applies the following
rules from the ANT path pattern to the query provided: A single asterisk
("*" as of Wildcard.FILE
) matches zero or more characters within
a path name. A double asterisk ("**" as of Wildcard.PATH
) matches
zero or more characters across directory levels. A question mark ("?" as
of Wildcard.CHAR
) matches exactly one character within a path
name. The single asterisk ("*" as of Wildcard.FILE
), the double
asterisk ("**" as of Wildcard.PATH
) and the question mark ("?" as
of Wildcard.CHAR
) we refer to as wildcards.default CanonicalMap retrieveBetween(Collection<?> aFromPath, Collection<?> aToPath)
PathMap
from the elements of this PathMap
found below the "from-path". The sub-paths will be relocated to the
provided "to-path".retrieveBetween
in interface PathMap<String>
aFromPath
- The path from where to start extracting the paths.aToPath
- The path where to relocate the extracted paths to.PathMap
with the elements below the provided path
"from-path" relocated to the given "to-path".default CanonicalMap retrieveBetween(Object aFromPath, Object aToPath)
PathMap
from the elements of this PathMap
found below the "from-path". The sub-paths will be relocated to the
provided "to-path".retrieveBetween
in interface PathMap<String>
aFromPath
- The path from where to start extracting the paths.aToPath
- The path where to relocate the extracted paths to.PathMap
with the elements below the provided path
"from-path" relocated to the given "to-path".default CanonicalMap retrieveBetween(Object[] aFromPath, Object[] aToPath)
PathMap
from the elements of this PathMap
found below the "from-path". The sub-paths will be relocated to the
provided "to-path".retrieveBetween
in interface PathMap<String>
aFromPath
- The path from where to start extracting the paths.aToPath
- The path where to relocate the extracted paths to.PathMap
with the elements below the provided path
"from-path" relocated to the given "to-path".default CanonicalMap retrieveBetween(String aFromPath, String aToPath)
PathMap
from the elements of this PathMap
found below the "from-path". The sub-paths will be relocated to the
provided "to-path".retrieveBetween
in interface PathMap<String>
aFromPath
- The path from where to start extracting the paths.aToPath
- The path where to relocate the extracted paths to.PathMap
with the elements below the provided path
"from-path" relocated to the given "to-path".default CanonicalMap retrieveBetween(String[] aFromPath, String[] aToPath)
PathMap
from the elements of this PathMap
found below the "from-path". The sub-paths will be relocated to the
provided "to-path".retrieveBetween
in interface PathMap<String>
aFromPath
- The path from where to start extracting the paths.aToPath
- The path where to relocate the extracted paths to.PathMap
with the elements below the provided path
"from-path" relocated to the given "to-path".default CanonicalMap retrieveFrom(Collection<?> aPathElements)
retrieveFrom
in interface PathMap<String>
aPathElements
- The path elements from where to retrieve the
children.default CanonicalMap retrieveFrom(Object aParentPath)
retrieveFrom
in interface PathMap<String>
aParentPath
- The path from where to retrieve the children.default CanonicalMap retrieveFrom(Object... aPathElements)
retrieveFrom
in interface PathMap<String>
aPathElements
- The path elements from where to retrieve the
children.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 PathMap<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
.default CanonicalMap retrieveFrom(String... aPathElements)
retrieveFrom
in interface PathMap<String>
aPathElements
- The path elements from where to retrieve the
children.default CanonicalMap retrieveTo(Collection<?> aToPathElements)
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.default CanonicalMap retrieveTo(Object 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.default CanonicalMap retrieveTo(Object... aToPathElements)
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.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.default CanonicalMap retrieveTo(String... aToPathElements)
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.default CanonicalMap getDir(Collection<?> aPathElements)
default CanonicalMap getDir(Object aPath)
default CanonicalMap getDir(Object... aPathElements)
default CanonicalMap getDir(String aPath)
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.getDir(String)
with "/dog", then the
resulting PathMap
will contain the path "/cat" for that value.default CanonicalMap getDir(String... aPathElements)
default Map<String,String> toMap()
Map
instance from this CanonicalMap
instance's elements (key/value-pairs) as of interoperability reasons.default Properties toProperties()
Properties
instance from this
Properties
instance's elements (key/value-pairs) as of
interoperability reasons.Properties
object from the herein contained
key/value-pairs .Copyright © 2021. All rights reserved.