Interface ImmutableCanonicalTable
- All Superinterfaces:
org.refcodes.mixin.AnnotatorAccessor,Containable,org.refcodes.mixin.DelimiterAccessor,org.refcodes.mixin.EmptyAccessor,ImmutableInterOperableTable<String>,ImmutablePathTable<String>,ImmutableTable<String,,String> Keys<String,,String> org.refcodes.mixin.TypeAccessor<String>
- All Known Subinterfaces:
CanonicalTable,ImmutableCanonicalTable.MutableCanonicalTable
- All Known Implementing Classes:
MapCanonicalTable,UnmodifiableCanonicalTableDecorator
The
ImmutableCanonicalTable is an "intermediate" type adding type and
Data-Structure related functionality to any implementing class.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTheImmutableCanonicalTable.MutableCanonicalTabletype extends theImmutableCanonicalTablewith mutable (writable) functionality and provides default mutator methods for supporting primitive data types.Nested classes/interfaces inherited from interface org.refcodes.mixin.AnnotatorAccessor
org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B extends org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B>>, org.refcodes.mixin.AnnotatorAccessor.AnnotatorMutator, org.refcodes.mixin.AnnotatorAccessor.AnnotatorPropertyNested classes/interfaces inherited from interface org.refcodes.mixin.DelimiterAccessor
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterPropertyNested 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.EmptyPropertyNested classes/interfaces inherited from interface org.refcodes.struct.ImmutableInterOperableTable
ImmutableInterOperableTable.MutableInterOperableTable<T>Nested classes/interfaces inherited from interface org.refcodes.struct.ImmutablePathTable
ImmutablePathTable.MutablePathTable<T>Nested classes/interfaces inherited from interface org.refcodes.struct.ImmutableTable
ImmutableTable.MutableTable<K,V> 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.mixin.TypeAccessor
org.refcodes.mixin.TypeAccessor.TypeBuilder<T,B extends org.refcodes.mixin.TypeAccessor.TypeBuilder<T, B>>, org.refcodes.mixin.TypeAccessor.TypeMutator<T>, org.refcodes.mixin.TypeAccessor.TypeProperty<T> -
Field Summary
Fields inherited from interface org.refcodes.struct.ImmutablePathTable
ANNOTATOR, DELIMITER -
Method Summary
Modifier and TypeMethodDescriptiondefault String[]Same asasArray(String, char)using a comma (',') as delimiter.default String[]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[]Same asasArray(String, char)using a comma (',') as delimiter.default String[]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 asasBooleanArray(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 asasBooleanArray(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 asasByteArray(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 asasByteArray(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 asasCharArray(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 asasCharArray(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 asasDoubleArray(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 asasDoubleArray(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 asasFloatArray(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 asasFloatArray(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 asasIntArray(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 asasIntArray(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 asasLongArray(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 asasLongArray(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 asasShortArray(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 asasShortArray(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 booleancontainsValue(Object value) This method is defined for the sake ofMapconformity.default CanonicalTableGets the children elements of the provided parent's path, excluding the parent's path.default CanonicalTableGets the children elements of the provided parent's path elements, excluding the parent's path.default CanonicalTableGets the children elements of the provided parent's path elements, excluding the parent's path.default CanonicalTableGets the children elements of the provided parent's path elements, excluding the parent's path.default CanonicalTablegetDir(Collection<?> aPathElements) Gets the children elements of the provided parent's path elements, excluding the parent's path.default CanonicalTablegetDirAt(int aIndex) An indexed directory represents all elements which begin with a path which's last path element represents an index.default CanonicalTableAn indexed directory represents all elements which begin with a path which's last path element represents an index.default CanonicalTableAn indexed directory represents all elements which begin with a path which's last path element represents an index.default CanonicalTableAn indexed directory represents all elements which begin with a path which's last path element represents an index.default CanonicalTableAn indexed directory represents all elements which begin with a path which's last path element represents an index.default CanonicalTablegetDirAt(Collection<?> aPathElements, int aIndex) An indexed directory represents all elements which begin with a path which's last path element represents an index.default CanonicalTable[]Gets the children elements of the provided parent's path, excluding the parent's path.default CanonicalTable[]Gets the children elements of the provided parent's path elements, excluding the parent's path.default CanonicalTable[]Gets the children elements of the provided parent's path elements, excluding the parent's path.default CanonicalTable[]Gets the children elements of the provided parent's path elements, excluding the parent's path.default CanonicalTable[]getDirs(Collection<?> aPathElements) Gets the children elements of the provided parent's path, excluding the parent's path.default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTablequery(Collection<?> aQueryElements) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using a regular expression as of the providedPatterninstance.default CanonicalTablequeryBetween(Object[] aFromPath, Object[] aPathQuery, Object[] aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTablequeryBetween(Object aFromPath, Object aPathQuery, Object aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTablequeryBetween(String[] aFromPath, String[] aPathQuery, String[] aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTablequeryBetween(String aFromPath, String aPathQuery, String aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTablequeryBetween(String aFromPath, Pattern aRegExp, String aToPath) Queries the keys of the instance using a regular expression as of the providedPattern.default CanonicalTablequeryBetween(Collection<?> aFromPath, Collection<?> aPathQuery, Collection<?> aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTablequeryFrom(Collection<?> aPathQuery, Collection<?> aFromPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using a regular expression as of the providedPattern.default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTablequeryTo(Collection<?> aPathQuery, String aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default CanonicalTableQueries the keys of the instance using a regular expression as of the providedPattern.default CanonicalTableretrieveBetween(Object[] aFromPath, Object[] aToPath) Extracts a newPathTablefrom the elements of this instance found below the "from-path".default CanonicalTableretrieveBetween(Object aFromPath, Object aToPath) Extracts a newPathTablefrom the elements of this instance found below the "from-path".default CanonicalTableretrieveBetween(String[] aFromPath, String[] aToPath) Extracts a newPathTablefrom the elements of this instance found below the "from-path".default CanonicalTableretrieveBetween(String aFromPath, String aToPath) Extracts a newPathTablefrom the elements of this instance found below the "from-path".default CanonicalTableretrieveBetween(Collection<?> aFromPath, Collection<?> aToPath) Extracts a newPathTablefrom the elements of this instance found below the "from-path".default CanonicalTableretrieveFrom(Object aParentPath) Gets the children elements of the provided parent's path, excluding the parent's path.default CanonicalTableretrieveFrom(Object... aPathElements) Gets the children elements of the provided parent's path elements, excluding the parent's path.retrieveFrom(String aFromPath) Extracts a newPathTablefrom the elements of this instance found below the "from-path".default CanonicalTableretrieveFrom(String... aPathElements) Gets the children elements of the provided parent's path elements, excluding the parent's path.default CanonicalTableretrieveFrom(Collection<?> aPathElements) Gets the children elements of the provided parent's path elements, excluding the parent's path.default CanonicalTableretrieveTo(Object aToPath) Extracts a newPathTablefrom this instance's elements with the paths relocated to the provided "to-path".default CanonicalTableretrieveTo(Object... aToPathElements) Extracts a newPathTablefrom this instance's elements with the paths relocated to the provided "to-path".retrieveTo(String aToPath) Extracts a newPathTablefrom this instance's elements with the paths relocated to the provided "to-path".default CanonicalTableretrieveTo(String... aToPathElements) Extracts a newPathTablefrom this instance's elements with the paths relocated to the provided "to-path".default CanonicalTableretrieveTo(Collection<?> aToPathElements) Extracts a newPathTablefrom this instance's elements with the paths relocated to the provided "to-path".toMap()This method creates aMapinstance from thisImmutableCanonicalTableinstance's elements (key/value-pairs) as of interoperability reasons.default PropertiesThis method creates aPropertiesinstance from thisPropertiesinstance's elements (key/value-pairs) as of interoperability reasons.Methods inherited from interface org.refcodes.mixin.AnnotatorAccessor
getAnnotatorMethods inherited from interface org.refcodes.struct.Containable
sizeMethods inherited from interface org.refcodes.mixin.DelimiterAccessor
getDelimiterMethods inherited from interface org.refcodes.mixin.EmptyAccessor
isEmptyMethods inherited from interface org.refcodes.struct.ImmutableInterOperableTable
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, getStringOrMethods inherited from interface org.refcodes.struct.ImmutablePathTable
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, getArray, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayOr, getArrayOr, getArrayOr, getArrayOr, getArrayOr, getArrayOr, getDirIndexes, 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, 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, toPath, toPathElements, toPathList, toPathStack, toPrintable, toPropertyPath, toType, toType, toType, toType, toType, toType, toType, toTypeMethods inherited from interface org.refcodes.struct.Keys
containsKey, get, getOr, keySet, use, valuesMethods inherited from interface org.refcodes.mixin.TypeAccessor
getType
-
Method Details
-
asArray
Same asasArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asArray
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. Let the value associated to the given key be "1, 2, 3, 4, 5", then the corresponding array, when using the comma (',') char as delimiter, will be { "1", "2", "3", "4", "5" }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asArray
Same asasArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asArray
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. Let the value associated to the given key be "1, 2, 3, 4, 5", then the corresponding array, when using the comma (',') char as delimiter, will be { "1", "2", "3", "4", "5" }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asBooleanArray
Same asasBooleanArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asBooleanArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asBooleanArray
Same asasBooleanArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asBooleanArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asByteArray
Same asasByteArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asByteArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asByteArray
Same asasByteArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asByteArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asCharArray
Same asasCharArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asCharArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asCharArray
Same asasCharArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asCharArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asDoubleArray
Same asasDoubleArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asDoubleArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') double as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asDoubleArray
Same asasDoubleArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asDoubleArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') double as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asFloatArray
Same asasFloatArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asFloatArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') float as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asFloatArray
Same asasFloatArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asFloatArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') float as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asIntArray
Same asasIntArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asIntArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asIntArray
Same asasIntArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asIntArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asLongArray
Same asasLongArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asLongArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asLongArray
Same asasLongArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asLongArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asShortArray
Same asasShortArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asShortArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
asShortArray
Same asasShortArray(String, char)using a comma (',') as delimiter.- Parameters:
aKey- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asShortArray
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. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
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.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
NumberFormatException- thrown in case conversion fails.
-
containsValue
This method is defined for the sake ofMapconformity. Tests whether the provided value has a key assigned.- Specified by:
containsValuein interfaceKeys<String,String> - Parameters:
value- The value to test if a key references this value.- Returns:
- True in case the given value is referenced by a key.
-
getDirAt
An indexed directory represents all elements which begin with a path which's last path element represents an index. There may by many sub-paths for the same indexed path which are all are included by the according directory. Returns the elements of the given index below the path of the path "array" path. Given the following paths and index = 1 with a queried path "/root/child":/root/child/0/0aaa /root/child/0/0bbb /root/child/0/0bbb /root/child/1/1aaa /root/child/1/1bbb /root/child/1/1bbbYou 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".- Specified by:
getDirAtin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The elements of the path from which to get the indexed elements.aIndex- The index which to use.- Returns:
- The indexed elements without the indexed path "prefixes".
-
getDirAt
An indexed directory represents all elements which begin with a path which's last path element represents an index. There may by many sub-paths for the same indexed path which are all are included by the according directory. Returns the elements of the given index below the path of the root "array" path. Given the following paths and index = 1:/0/0aaa /0/0bbb /0/0bbb /1/1aaa /1/1bbb /1/1bbbYou 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".- Specified by:
getDirAtin interfaceImmutablePathTable<String>- Parameters:
aIndex- The index which to use.- Returns:
- The indexed elements without the indexed path "prefixes".
-
getDirAt
An indexed directory represents all elements which begin with a path which's last path element represents an index. There may by many sub-paths for the same indexed path which are all are included by the according directory. Returns the elements of the given index below the path of the path "array" path. Given the following paths and index = 1 with a queried path "/root/child":/root/child/0/0aaa /root/child/0/0bbb /root/child/0/0bbb /root/child/1/1aaa /root/child/1/1bbb /root/child/1/1bbbYou 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".- Specified by:
getDirAtin interfaceImmutablePathTable<String>- Parameters:
aPath- The path from which to get the indexed elements.aIndex- The index which to use.- Returns:
- The indexed elements without the indexed path "prefixes".
-
getDirAt
An indexed directory represents all elements which begin with a path which's last path element represents an index. There may by many sub-paths for the same indexed path which are all are included by the according directory. Returns the elements of the given index below the path of the path "array" path. Given the following paths and index = 1 with a queried path "/root/child":/root/child/0/0aaa /root/child/0/0bbb /root/child/0/0bbb /root/child/1/1aaa /root/child/1/1bbb /root/child/1/1bbbYou 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".- Specified by:
getDirAtin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The elements of the path from which to get the indexed elements.aIndex- The index which to use.- Returns:
- The indexed elements without the indexed path "prefixes".
-
getDirAt
An indexed directory represents all elements which begin with a path which's last path element represents an index. There may by many sub-paths for the same indexed path which are all are included by the according directory. Returns the elements of the given index below the path of the path "array" path. Given the following paths and index = 1 with a queried path "/root/child":/root/child/0/0aaa /root/child/0/0bbb /root/child/0/0bbb /root/child/1/1aaa /root/child/1/1bbb /root/child/1/1bbbYou 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".- Specified by:
getDirAtin interfaceImmutablePathTable<String>- Parameters:
aPath- The path from which to get the indexed elements.aIndex- The index which to use.- Returns:
- The indexed elements without the indexed path "prefixes".
-
getDirAt
An indexed directory represents all elements which begin with a path which's last path element represents an index. There may by many sub-paths for the same indexed path which are all are included by the according directory. Returns the elements of the given index below the path of the path "array" path. Given the following paths and index = 1 with a queried path "/root/child":/root/child/0/0aaa /root/child/0/0bbb /root/child/0/0bbb /root/child/1/1aaa /root/child/1/1bbb /root/child/1/1bbbYou 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".- Specified by:
getDirAtin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The elements of the path from which to get the indexed elements.aIndex- The index which to use.- Returns:
- The indexed elements without the indexed path "prefixes".
-
query
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryin interfaceImmutablePathTable<String>- Parameters:
aQueryElements- The elements representing the path query including your wildcards.- Returns:
- The result contains the matching paths with the according values.
-
query
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryin interfaceImmutablePathTable<String>- Parameters:
aQueryElements- The elements representing the path query including your wildcards.- Returns:
- The result contains the matching paths with the according values.
-
query
Queries the keys of the instance using a regular expression as of the providedPatterninstance.- Specified by:
queryin interfaceImmutablePathTable<String>- Parameters:
aRegExp- The regular expression to be used for the query.- Returns:
- The matching properties.
-
query
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.- Returns:
- The result contains the matching paths with the according values.
-
query
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryin interfaceImmutablePathTable<String>- Parameters:
aQueryElements- The elements representing the path query including your wildcards.- Returns:
- The result contains the matching paths with the according values.
-
queryBetween
default CanonicalTable queryBetween(Collection<?> aFromPath, Collection<?> aPathQuery, Collection<?> aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryBetweenin interfaceImmutablePathTable<String>- Parameters:
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.- Returns:
- The result contains the matching paths (with respect to the from-path and the to-path) with the according values.
-
queryBetween
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryBetweenin interfaceImmutablePathTable<String>- Parameters:
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.- Returns:
- The result contains the matching paths (with respect to the from-path and the to-path) with the according values.
-
queryBetween
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryBetweenin interfaceImmutablePathTable<String>- Parameters:
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.- Returns:
- The result contains the matching paths (with respect to the from-path and the to-path) with the according values.
-
queryBetween
Queries the keys of the instance using a regular expression as of the providedPattern.- Specified by:
queryBetweenin interfaceImmutablePathTable<String>- Parameters:
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.- Returns:
- The result contains the matching paths (with respect to the from-path and the to-path) with the according values.
-
queryBetween
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryBetweenin interfaceImmutablePathTable<String>- Parameters:
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.- Returns:
- The result contains the matching paths (with respect to the from-path and the to-path) with the according values.
-
queryBetween
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryBetweenin interfaceImmutablePathTable<String>- Parameters:
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.- Returns:
- The result contains the matching paths (with respect to the from-path and the to-path) with the according values.
-
queryFrom
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryFromin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.aFromPath- The path from where to start querying and extracting the paths.- Returns:
- The result contains the matching paths (with respect to the from-path) with the according values.
-
queryFrom
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryFromin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.aFromPath- The path from where to start querying and extracting the paths.- Returns:
- The result contains the matching paths (with respect to the from-path) with the according values.
-
queryFrom
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryFromin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.aFromPath- The path from where to start querying and extracting the paths.- Returns:
- The result contains the matching paths (with respect to the from-path) with the according values.
-
queryFrom
Queries the keys of the instance using a regular expression as of the providedPattern.- Specified by:
queryFromin interfaceImmutablePathTable<String>- Parameters:
aRegExp- The regular expression to be used for the query.aFromPath- The path from where to start querying and extracting the paths.- Returns:
- The result contains the matching paths (with respect to the from-path) with the according values.
-
queryFrom
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryFromin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.aFromPath- The path from where to start querying and extracting the paths.- Returns:
- The result contains the matching paths (with respect to the from-path) with the according values.
-
queryFrom
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryFromin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.aFromPath- The path from where to start querying and extracting the paths.- Returns:
- The result contains the matching paths (with respect to the from-path) with the according values.
-
queryTo
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryToin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.aToPath- The path where to relocate the result to.- Returns:
- The result contains the matching paths (with respect to the to-path) with the according values.
-
queryTo
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryToin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.aToPath- The path where to relocate the result to.- Returns:
- The result contains the matching paths (with respect to the to-path) with the according values.
-
queryTo
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryToin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.aToPath- The path where to relocate the result to.- Returns:
- The result contains the matching paths (with respect to the to-path) with the according values.
-
queryTo
Queries the keys of the instance using a regular expression as of the providedPattern.- Specified by:
queryToin interfaceImmutablePathTable<String>- Parameters:
aRegExp- The regular expression to be used for the query.aToPath- The path where to relocate the result to.- Returns:
- The result contains the matching paths (with respect to the to-path) with the according values.
-
queryTo
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryToin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.aToPath- The path where to relocate the result to.- Returns:
- The result contains the matching paths (with respect to the to-path) with the according values.
-
queryTo
Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?' and '**' known when querying folders of a filesystem: ThePathMatcherapplies the following rules from the ANT path pattern to the query provided: A single asterisk ("*" as ofWildcard.FILE) matches zero or more characters within a path name. A double asterisk ("**" as ofWildcard.PATH) matches zero or more characters across directory levels. A question mark ("?" as ofWildcard.CHAR) matches exactly one character within a path name. The single asterisk ("*" as ofWildcard.FILE), the double asterisk ("**" as ofWildcard.PATH) and the question mark ("?" as ofWildcard.CHAR) we refer to as wildcards.- Specified by:
queryToin interfaceImmutablePathTable<String>- Parameters:
aPathQuery- The path query including your wildcards.aToPath- The path where to relocate the result to.- Returns:
- The result contains the matching paths (with respect to the to-path) with the according values.
-
retrieveBetween
Extracts a newPathTablefrom the elements of this instance found below the "from-path". The sub-paths will be relocated to the provided "to-path".- Specified by:
retrieveBetweenin interfaceImmutablePathTable<String>- Parameters:
aFromPath- The path from where to start extracting the paths.aToPath- The path where to relocate the extracted paths to.- Returns:
- The
PathTablewith the elements below the provided path "from-path" relocated to the given "to-path".
-
retrieveBetween
Extracts a newPathTablefrom the elements of this instance found below the "from-path". The sub-paths will be relocated to the provided "to-path".- Specified by:
retrieveBetweenin interfaceImmutablePathTable<String>- Parameters:
aFromPath- The path from where to start extracting the paths.aToPath- The path where to relocate the extracted paths to.- Returns:
- The
PathTablewith the elements below the provided path "from-path" relocated to the given "to-path".
-
retrieveBetween
Extracts a newPathTablefrom the elements of this instance found below the "from-path". The sub-paths will be relocated to the provided "to-path".- Specified by:
retrieveBetweenin interfaceImmutablePathTable<String>- Parameters:
aFromPath- The path from where to start extracting the paths.aToPath- The path where to relocate the extracted paths to.- Returns:
- The
PathTablewith the elements below the provided path "from-path" relocated to the given "to-path".
-
retrieveBetween
Extracts a newPathTablefrom the elements of this instance found below the "from-path". The sub-paths will be relocated to the provided "to-path".- Specified by:
retrieveBetweenin interfaceImmutablePathTable<String>- Parameters:
aFromPath- The path from where to start extracting the paths.aToPath- The path where to relocate the extracted paths to.- Returns:
- The
PathTablewith the elements below the provided path "from-path" relocated to the given "to-path".
-
retrieveBetween
Extracts a newPathTablefrom the elements of this instance found below the "from-path". The sub-paths will be relocated to the provided "to-path".- Specified by:
retrieveBetweenin interfaceImmutablePathTable<String>- Parameters:
aFromPath- The path from where to start extracting the paths.aToPath- The path where to relocate the extracted paths to.- Returns:
- The
PathTablewith the elements below the provided path "from-path" relocated to the given "to-path".
-
retrieveFrom
Gets the children elements of the provided parent's path elements, excluding the parent's path.- Specified by:
retrieveFromin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The path elements from where to retrieve the children.- Returns:
- The children of the given parent's path.
-
retrieveFrom
Gets the children elements of the provided parent's path, excluding the parent's path.- Specified by:
retrieveFromin interfaceImmutablePathTable<String>- Parameters:
aParentPath- The path from where to retrieve the children.- Returns:
- The children of the given parent's path.
-
retrieveFrom
Gets the children elements of the provided parent's path elements, excluding the parent's path.- Specified by:
retrieveFromin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The path elements from where to retrieve the children.- Returns:
- The children of the given parent's path.
-
retrieveFrom
Extracts a newPathTablefrom the elements of this instance found below the "from-path". The sub-paths will be the root paths for the newPathTable. Given we have a value for path "/dog/cat" in thePathTableand we callImmutablePathTable.retrieveFrom(String)with "/dog", then the resultingPathTablewill contain the path "/cat" for that value.- Specified by:
retrieveFromin interfaceImmutablePathTable<String>- Parameters:
aFromPath- The path from where to start extracting the paths.- Returns:
- The
PathTablewith the elements below the provided path which are root elements in the newPathTable.
-
retrieveFrom
Gets the children elements of the provided parent's path elements, excluding the parent's path.- Specified by:
retrieveFromin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The path elements from where to retrieve the children.- Returns:
- The children of the given parent's path.
-
retrieveTo
Extracts a newPathTablefrom this instance's elements with the paths relocated to the provided "to-path". Given we have a value for path "/dog/cat" in thePathTableand we callImmutablePathTable.retrieveTo(String)with "/animals", then the resultingPathTablewill contain the path "/animals/dog/cat" for that value.- Specified by:
retrieveToin interfaceImmutablePathTable<String>- Parameters:
aToPathElements- The path elements representing the path where to relocate the paths of this instance to.- Returns:
- The
PathTablewith the elements from the providedPathTablewith accordingly relocated paths.
-
retrieveTo
Extracts a newPathTablefrom this instance's elements with the paths relocated to the provided "to-path". Given we have a value for path "/dog/cat" in thePathTableand we callImmutablePathTable.retrieveTo(String)with "/animals", then the resultingPathTablewill contain the path "/animals/dog/cat" for that value.- Specified by:
retrieveToin interfaceImmutablePathTable<String>- Parameters:
aToPath- The path where to relocate the paths of thisPathTableto.- Returns:
- The
PathTablewith the elements from the providedPathTablewith accordingly relocated paths.
-
retrieveTo
Extracts a newPathTablefrom this instance's elements with the paths relocated to the provided "to-path". Given we have a value for path "/dog/cat" in thePathTableand we callImmutablePathTable.retrieveTo(String)with "/animals", then the resultingPathTablewill contain the path "/animals/dog/cat" for that value.- Specified by:
retrieveToin interfaceImmutablePathTable<String>- Parameters:
aToPathElements- The path elements representing the path where to relocate the paths of this instance to.- Returns:
- The
PathTablewith the elements from the providedPathTablewith accordingly relocated paths.
-
retrieveTo
Extracts a newPathTablefrom this instance's elements with the paths relocated to the provided "to-path". Given we have a value for path "/dog/cat" in thePathTableand we callImmutablePathTable.retrieveTo(String)with "/animals", then the resultingPathTablewill contain the path "/animals/dog/cat" for that value.- Specified by:
retrieveToin interfaceImmutablePathTable<String>- Parameters:
aToPath- The path where to relocate the paths of thisPathTableto.- Returns:
- The
PathTablewith the elements from the providedPathTablewith accordingly relocated paths.
-
retrieveTo
Extracts a newPathTablefrom this instance's elements with the paths relocated to the provided "to-path". Given we have a value for path "/dog/cat" in thePathTableand we callImmutablePathTable.retrieveTo(String)with "/animals", then the resultingPathTablewill contain the path "/animals/dog/cat" for that value.- Specified by:
retrieveToin interfaceImmutablePathTable<String>- Parameters:
aToPathElements- The path elements representing the path where to relocate the paths of this instance to.- Returns:
- The
PathTablewith the elements from the providedPathTablewith accordingly relocated paths.
-
getDir
Gets the children elements of the provided parent's path elements, excluding the parent's path.- Specified by:
getDirin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The path elements from where to retrieve the children.- Returns:
- The children of the given parent's path.
-
getDir
Gets the children elements of the provided parent's path, excluding the parent's path.- Specified by:
getDirin interfaceImmutablePathTable<String>- Parameters:
aPath- The path from where to retrieve the children.- Returns:
- The children of the given parent's path.
-
getDir
Gets the children elements of the provided parent's path elements, excluding the parent's path.- Specified by:
getDirin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The path elements from where to retrieve the children.- Returns:
- The children of the given parent's path.
-
getDir
Gets the children elements of the provided parent's path elements, excluding the parent's path.- Specified by:
getDirin interfaceImmutablePathTable<String>- Parameters:
aPath- The path from where to retrieve the children.- Returns:
- The children of the given parent's path.
-
getDir
Gets the children elements of the provided parent's path elements, excluding the parent's path.- Specified by:
getDirin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The path elements from where to retrieve the children.- Returns:
- The children of the given parent's path.
-
getDirs
Gets the children elements of the provided parent's path, excluding the parent's path. If the parent points to a directory index (as ofImmutablePathTable.isIndexDir()and the like methods), then the indexed directories are returned with their directory index corresponding to the returned array's index. parent's path.- Specified by:
getDirsin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The path elements from where to retrieve the children.- Returns:
- An array with the children directories of the given parent's
path: If the path points to an indexed directory (as of
ImmutablePathTable.isIndexDir()or the like), then each indexed directory is represented by an element of the array at the according index. If the path does not point to an indexed directory, then the directory itself is returned as the only element in the returned array.
-
getDirs
Gets the children elements of the provided parent's path, excluding the parent's path. If the parent points to a directory index (as ofImmutablePathTable.isIndexDir()and the like methods), then the indexed directories are returned with their directory index corresponding to the returned array's index. parent's path.- Specified by:
getDirsin interfaceImmutablePathTable<String>- Parameters:
aPath- The path from where to retrieve the children.- Returns:
- An array with the children directories of the given parent's
path: If the path points to an indexed directory (as of
ImmutablePathTable.isIndexDir()or the like), then each indexed directory is represented by an element of the array at the according index. If the path does not point to an indexed directory, then the directory itself is returned as the only element in the returned array.
-
getDirs
Gets the children elements of the provided parent's path elements, excluding the parent's path. If the parent points to a directory index (as ofImmutablePathTable.isIndexDir()and the like methods), then the indexed directories are returned with their directory index corresponding to the returned array's index. parent's path.- Specified by:
getDirsin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The path elements from where to retrieve the children.- Returns:
- An array with the children directories of the given parent's
path: If the path points to an indexed directory (as of
ImmutablePathTable.isIndexDir()or the like), then each indexed directory is represented by an element of the array at the according index. If the path does not point to an indexed directory, then the directory itself is returned as the only element in the returned array.
-
getDirs
Gets the children elements of the provided parent's path elements, excluding the parent's path. If the parent points to a directory index (as ofImmutablePathTable.isIndexDir()and the like methods), then the indexed directories are returned with their directory index corresponding to the returned array's index. parent's path.- Specified by:
getDirsin interfaceImmutablePathTable<String>- Parameters:
aPath- The path from where to retrieve the children.- Returns:
- An array with the children directories of the given parent's
path: If the path points to an indexed directory (as of
ImmutablePathTable.isIndexDir()or the like), then each indexed directory is represented by an element of the array at the according index. If the path does not point to an indexed directory, then the directory itself is returned as the only element in the returned array.
-
getDirs
Gets the children elements of the provided parent's path elements, excluding the parent's path. If the parent points to a directory index (as ofImmutablePathTable.isIndexDir()and the like methods), then the indexed directories are returned with their directory index corresponding to the returned array's index. parent's path.- Specified by:
getDirsin interfaceImmutablePathTable<String>- Parameters:
aPathElements- The path elements from where to retrieve the children.- Returns:
- An array with the children directories of the given parent's
path: If the path points to an indexed directory (as of
ImmutablePathTable.isIndexDir()or the like), then each indexed directory is represented by an element of the array at the according index. If the path does not point to an indexed directory, then the array. directory itself is returned as the only element in the returned
-
toMap
This method creates aMapinstance from thisImmutableCanonicalTableinstance's elements (key/value-pairs) as of interoperability reasons.- Specified by:
toMapin interfaceImmutablePathTable<String>- Returns:
- A
Mapobject from the herein contained key/value-pairs .
-
toProperties
This method creates aPropertiesinstance from thisPropertiesinstance's elements (key/value-pairs) as of interoperability reasons.- Returns:
- A
Propertiesobject from the herein contained key/value-pairs .
-