- All Superinterfaces:
org.refcodes.mixin.AnnotatorAccessor,Containable,org.refcodes.mixin.DelimiterAccessor,Dictionary<String,,Class<?>> org.refcodes.mixin.Dumpable,org.refcodes.mixin.EmptyAccessor,Keys<String,,Class<?>> PathMap<Class<?>>,org.refcodes.mixin.TypeAccessor<Class<?>>,TypeModeAccessor
- All Known Subinterfaces:
ClassStructMap.ClassStructMapBuilder,ClassStructMap.MutableClassStructMap
- All Known Implementing Classes:
ClassStructMapBuilderImpl,ClassStructMapImpl
The
ClassStructMap disects a Class into its simple types
(considering String and Enum types as well as primitive
types).-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe Interface ClassStructMapBuilder.static interfaceThe Interface MutableClassStructMap.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.struct.Dictionary
Dictionary.MutableDictionary<K,V> Nested classes/interfaces inherited from interface org.refcodes.mixin.EmptyAccessor
org.refcodes.mixin.EmptyAccessor.EmptyMutator, org.refcodes.mixin.EmptyAccessor.EmptyPropertyNested 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.struct.PathMap
PathMap.MutablePathMap<T>, PathMap.PathMapBuilder<T>Nested classes/interfaces inherited from interface org.refcodes.mixin.TypeAccessor
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> Nested classes/interfaces inherited from interface org.refcodes.struct.TypeModeAccessor
TypeModeAccessor.TypeModeBuilder<B extends TypeModeAccessor.TypeModeBuilder<B>>, TypeModeAccessor.TypeModeMutator, TypeModeAccessor.TypeModeProperty -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancontainsValue(Object value) This method is defined for the sake ofMapconformity.default StringReturns the array selector used in paths to identify an array type.default ClassStructMapRetrieves the directory of the composite type's array represented by the root path.default ClassStructMapgetCompositeArrayDir(Object aPath) Retrieves the directory of the composite type's array represented by the given path.default ClassStructMapgetCompositeArrayDir(Object... aPathElements) Retrieves the directory of the composite type's array represented by the given path.default ClassStructMapgetCompositeArrayDir(String aPath) Retrieves the directory of the composite type's array represented by the given path.default ClassStructMapgetCompositeArrayDir(String... aPathElements) Retrieves the directory of the composite type's array represented by the given path.default ClassStructMapgetCompositeArrayDir(Collection<?> aPathElements) Retrieves the directory of the composite type's array represented by the given path.default ClassStructMapRetrieves the directory of the composite type represented by the root path.default ClassStructMapgetCompositeDir(Object aPath) Retrieves the directory of the composite type represented by the given path.default ClassStructMapgetCompositeDir(Object... aPathElements) Retrieves the directory of the composite type represented by the given path.default ClassStructMapgetCompositeDir(String aPath) Retrieves the directory of the composite type represented by the given path.default ClassStructMapgetCompositeDir(String... aPathElements) Retrieves the directory of the composite type represented by the given path.default ClassStructMapgetCompositeDir(Collection<?> aPathElements) Retrieves the directory of the composite type represented by the given path.default ClassStructMapGets the children elements of the provided parent's path, excluding the parent's path.default ClassStructMapGets the children elements of the provided parent's path elements, excluding the parent's path.default ClassStructMapGets the children elements of the provided parent's path elements, excluding the parent's path.default ClassStructMapGets the children elements of the provided parent's path elements, excluding the parent's path.default ClassStructMapgetDir(Collection<?> aPathElements) Gets the children elements of the provided parent's path elements, excluding the parent's path.default ClassStructMapgetDirAt(int aIndex) An indexed directory represents all elements which begin with a path which's last path element represents an index.default ClassStructMapAn indexed directory represents all elements which begin with a path which's last path element represents an index.default ClassStructMapAn indexed directory represents all elements which begin with a path which's last path element represents an index.default ClassStructMapAn indexed directory represents all elements which begin with a path which's last path element represents an index.default ClassStructMapAn indexed directory represents all elements which begin with a path which's last path element represents an index.default ClassStructMapgetDirAt(Collection<?> aPathElements, int aIndex) An indexed directory represents all elements which begin with a path which's last path element represents an index.default ClassStructMap[]Gets the children elements of the provided parent's path, excluding the parent's path.default ClassStructMap[]Gets the children elements of the provided parent's path elements, excluding the parent's path.default ClassStructMap[]Gets the children elements of the provided parent's path elements, excluding the parent's path.default ClassStructMap[]Gets the children elements of the provided parent's path elements, excluding the parent's path.default ClassStructMap[]getDirs(Collection<?> aPathElements) Gets the children elements of the provided parent's path, excluding the parent's path.default Class<?>Retrieves the primitive type of the array represented by the root path.default Class<?>getPrimitiveArrayType(Object aPath) Retrieves the primitive type of the array represented by the given path.default Class<?>getPrimitiveArrayType(Object... aPathElements) Retrieves the primitive type of the array represented by the given path.default Class<?>getPrimitiveArrayType(String aPath) Retrieves the primitive type of the array represented by the given path.default Class<?>getPrimitiveArrayType(String... aPathElements) Retrieves the primitive type of the array represented by the given path.default Class<?>getPrimitiveArrayType(Collection<?> aPathElements) Retrieves the primitive type of the array represented by the given path.default Class<?>Retrieves the primitive type represented by the root path.default Class<?>getPrimitiveType(Object aPath) Retrieves the primitive type represented by the given path.default Class<?>getPrimitiveType(Object... aPathElements) Retrieves the primitive type represented by the given path.default Class<?>getPrimitiveType(String aPath) Retrieves the primitive type represented by the given path.default Class<?>getPrimitiveType(String... aPathElements) Retrieves the primitive type represented by the given path.default Class<?>getPrimitiveType(Collection<?> aPathElements) Retrieves the primitive type represented by the given path.default Class<?>Retrieves the simple type of the array represented by the root path.default Class<?>getSimpleArrayType(Object aPath) Retrieves the simple type of the array represented by the given path.default Class<?>getSimpleArrayType(Object... aPathElements) Retrieves the simple type of the array represented by the given path.default Class<?>getSimpleArrayType(String aPath) Retrieves the simple type of the array represented by the given path.default Class<?>getSimpleArrayType(String... aPathElements) Retrieves the simple type of the array represented by the given path.default Class<?>getSimpleArrayType(Collection<?> aPathElements) Retrieves the simple type of the array represented by the given path.default Class<?>Retrieves the simple type represented by the root path.default Class<?>getSimpleType(Object aPath) Retrieves the simple type represented by the given path.default Class<?>getSimpleType(Object... aPathElements) Retrieves the simple type represented by the given path.default Class<?>getSimpleType(String aPath) Retrieves the simple type represented by the given path.default Class<?>getSimpleType(String... aPathElements) Retrieves the simple type represented by the given path.default Class<?>getSimpleType(Collection<?> aPathElements) Retrieves the simple type represented by the given path.default Class<?>Retrieves the wrapper type of the array represented by the root path.default Class<?>getWrapperArrayType(Object aPath) Retrieves the wrapper type of the array represented by the given path.default Class<?>getWrapperArrayType(Object... aPathElements) Retrieves the wrapper type of the array represented by the given path.default Class<?>getWrapperArrayType(String aPath) Retrieves the wrapper type of the array represented by the given path.default Class<?>getWrapperArrayType(String... aPathElements) Retrieves the wrapper type of the array represented by the given path.default Class<?>getWrapperArrayType(Collection<?> aPathElements) Retrieves the wrapper type of the array represented by the given path.default Class<?>Retrieves the wrapper type represented by the root path.default Class<?>getWrapperType(Object aPath) Retrieves the wrapper type represented by the given path.default Class<?>getWrapperType(Object... aPathElements) Retrieves the wrapper type represented by the given path.default Class<?>getWrapperType(String aPath) Retrieves the wrapper type represented by the given path.default Class<?>getWrapperType(String... aPathElements) Retrieves the wrapper type represented by the given path.default Class<?>getWrapperType(Collection<?> aPathElements) Retrieves the wrapper type represented by the given path.default booleanDetermines if the elements below the root path can be treated as an array.default booleanisArrayType(Object aPath) Determines if the elements below the given path can be treated as an array.default booleanisArrayType(Object... aPathElements) Determines if the elements below the given path elements can be treated as an array.default booleanisArrayType(String aPath) Determines if the elements below the given path can be treated as an array.default booleanisArrayType(String... aPathElements) Determines if the elements below the given path elements can be treated as an array.default booleanisArrayType(Collection<?> aPathElements) Determines if the elements below the given path elements can be treated as an array.default booleanDetermines if the elements below the root path can be treated as a composite type directory.default booleanisCompositeArrayDir(Object aPath) Determines if the elements below the given path can be treated as a composite type directory.default booleanisCompositeArrayDir(Object... aPathElements) Determines if the elements below the given path elements can be treated as a composite type directory.default booleanisCompositeArrayDir(String aPath) Determines if the elements below the given path can be treated as a composite type directory.default booleanisCompositeArrayDir(String... aPathElements) Determines if the elements below the given path elements can be treated as a composite type directory.default booleanisCompositeArrayDir(Collection<?> aPathElements) Determines if the elements below the given path elements can be treated as a composite type directory.default booleanDetermines if the elements below the root path can be treated as a composite type directory.default booleanisCompositeDir(Object aPath) Determines if the elements below the given path can be treated as a composite type directory.default booleanisCompositeDir(Object... aPathElements) Determines if the elements below the given path elements can be treated as a composite type directory.default booleanisCompositeDir(String aPath) Determines if the elements below the given path can be treated as a composite type directory.default booleanisCompositeDir(String... aPathElements) Determines if the elements below the given path elements can be treated as a composite type directory.default booleanisCompositeDir(Collection<?> aPathElements) Determines if the elements below the given path elements can be treated as a composite type directory.default booleanDetermines if the elements below the root path can be treated as a primitive type array.default booleanisPrimitiveArrayType(Object aPath) Determines if the elements below the given path can be treated as a primitive type array.default booleanisPrimitiveArrayType(Object... aPathElements) Determines if the elements below the given path elements can be treated as a primitive type array.default booleanisPrimitiveArrayType(String aPath) Determines if the elements below the given path can be treated as a primitive type array.default booleanisPrimitiveArrayType(String... aPathElements) Determines if the elements below the given path elements can be treated as a primitive type array.default booleanisPrimitiveArrayType(Collection<?> aPathElements) Determines if the elements below the given path elements can be treated as a primitive type array.default booleanDetermines if the elements below the root path can be treated as a primitive type.default booleanisPrimitiveType(Object aPath) Determines if the elements below the given path can be treated as a primitive type.default booleanisPrimitiveType(Object... aPathElements) Determines if the elements below the given path elements can be treated as a primitive type.default booleanisPrimitiveType(String aPath) Determines if the elements below the given path can be treated as a primitive type.default booleanisPrimitiveType(String... aPathElements) Determines if the elements below the given path elements can be treated as a primitive type.default booleanisPrimitiveType(Collection<?> aPathElements) Determines if the elements below the given path elements can be treated as a primitive type.default booleanDetermines if the elements below the root path can be treated as a simple type array.default booleanisSimpleArrayType(Object aPath) Determines if the elements below the given path can be treated as a simple type array.default booleanisSimpleArrayType(Object... aPathElements) Determines if the elements below the given path elements can be treated as a simple type array.default booleanisSimpleArrayType(String aPath) Determines if the elements below the given path can be treated as a simple type array.default booleanisSimpleArrayType(String... aPathElements) Determines if the elements below the given path elements can be treated as a simple type array.default booleanisSimpleArrayType(Collection<?> aPathElements) Determines if the elements below the given path elements can be treated as a simple type array.default booleanDetermines if the elements below the root path can be treated as a simple type.default booleanisSimpleType(Object aPath) Determines if the elements below the given path can be treated as a simple type.default booleanisSimpleType(Object... aPathElements) Determines if the elements below the given path elements can be treated as a simple type.default booleanisSimpleType(String aPath) Determines if the elements below the given path can be treated as a simple type.default booleanisSimpleType(String... aPathElements) Determines if the elements below the given path elements can be treated as a simple type.default booleanisSimpleType(Collection<?> aPathElements) Determines if the elements below the given path elements can be treated as a simple type.default booleanDetermines if the elements below the root path can be treated as a wrapper type array.default booleanisWrapperArrayType(Object aPath) Determines if the elements below the given path can be treated as a wrapper type array.default booleanisWrapperArrayType(Object... aPathElements) Determines if the elements below the given path elements can be treated as a wrapper type array.default booleanisWrapperArrayType(String aPath) Determines if the elements below the given path can be treated as a wrapper type array.default booleanisWrapperArrayType(String... aPathElements) Determines if the elements below the given path elements can be treated as a wrapper type array.default booleanisWrapperArrayType(Collection<?> aPathElements) Determines if the elements below the given path elements can be treated as a wrapper type array.default booleanDetermines if the elements below the root path can be treated as a wrapper type.default booleanisWrapperType(Object aPath) Determines if the elements below the given path can be treated as a wrapper type.default booleanisWrapperType(Object... aPathElements) Determines if the elements below the given path elements can be treated as a wrapper type.default booleanisWrapperType(String aPath) Determines if the elements below the given path can be treated as a wrapper type.default booleanisWrapperType(String... aPathElements) Determines if the elements below the given path elements can be treated as a wrapper type.default booleanisWrapperType(Collection<?> aPathElements) Determines if the elements below the given path elements can be treated as a wrapper type.default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapquery(Collection<?> aQueryElements) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using a regular expression as of the providedPatterninstance.default ClassStructMapqueryBetween(Object[] aFromPath, Object[] aPathQuery, Object[] aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapqueryBetween(Object aFromPath, Object aPathQuery, Object aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapqueryBetween(String[] aFromPath, String[] aPathQuery, String[] aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapqueryBetween(String aFromPath, String aPathQuery, String aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapqueryBetween(String aFromPath, Pattern aRegExp, String aToPath) Queries the keys of the instance using a regular expression as of the providedPattern.default ClassStructMapqueryBetween(Collection<?> aFromPath, Collection<?> aPathQuery, Collection<?> aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapqueryFrom(Collection<?> aPathQuery, Collection<?> aFromPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using a regular expression as of the providedPattern.default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapqueryTo(Collection<?> aPathQuery, String aToPath) Queries the keys of the instance using thePathMatcher' matching patterns, similar to the wildcards '*', '?'default ClassStructMapQueries the keys of the instance using a regular expression as of the providedPattern.default ClassStructMapretrieveBetween(Object[] aFromPath, Object[] aToPath) default ClassStructMapretrieveBetween(Object aFromPath, Object aToPath) default ClassStructMapretrieveBetween(String[] aFromPath, String[] aToPath) default ClassStructMapretrieveBetween(String aFromPath, String aToPath) default ClassStructMapretrieveBetween(Collection<?> aFromPath, Collection<?> aToPath) default ClassStructMapretrieveFrom(Object aParentPath) Gets the children elements of the provided parent's path, excluding the parent's path.default ClassStructMapretrieveFrom(Object... aPathElements) Gets the children elements of the provided parent's path elements, excluding the parent's path.retrieveFrom(String aFromPath) default ClassStructMapretrieveFrom(String... aPathElements) Gets the children elements of the provided parent's path elements, excluding the parent's path.default ClassStructMapretrieveFrom(Collection<?> aPathElements) Gets the children elements of the provided parent's path elements, excluding the parent's path.default ClassStructMapretrieveTo(Object aToPath) default ClassStructMapretrieveTo(Object... aToPathElements) retrieveTo(String aToPath) default ClassStructMapretrieveTo(String... aToPathElements) default ClassStructMapretrieveTo(Collection<?> aToPathElements) toMap()This method creates aMapinstance from thisClassStructMapinstance'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.Dumpable
toDump, toDumpMethods inherited from interface org.refcodes.mixin.EmptyAccessor
isEmptyMethods inherited from interface org.refcodes.struct.Keys
containsKey, get, getOr, keySet, use, valuesMethods inherited from interface org.refcodes.struct.PathMap
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, getArrayOr, getArrayOr, getArrayOr, getArrayOr, getArrayOr, 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, toPath, toPathElements, toPathList, toPathStack, toPrintable, toPropertyPath, toType, toType, toType, toType, toType, toType, toType, toTypeMethods inherited from interface org.refcodes.mixin.TypeAccessor
getTypeMethods inherited from interface org.refcodes.struct.TypeModeAccessor
getTypeMode
-
Field Details
-
ARRAY_SELECTOR
-
-
Method Details
-
containsValue
This method is defined for the sake ofMapconformity. Tests whether the provided value has a key assigned.- Specified by:
containsValuein interfaceKeys<String,Class<?>> - 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 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". -
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". -
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". -
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". -
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". -
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". -
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. -
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. -
query
Queries the keys of the instance using a regular expression as of the providedPatterninstance. -
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. -
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. -
queryBetween
default ClassStructMap 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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. -
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. -
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. -
queryTo
Queries the keys of the instance using a regular expression as of the providedPattern. -
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. -
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. -
retrieveBetween
Extracts a newPathMapfrom the elements of thisPathMapfound below the "from-path". The sub-paths will be relocated to the provided "to-path".- Specified by:
retrieveBetweenin interfacePathMap<Class<?>>- Parameters:
aFromPath- The path from where to start extracting the paths.aToPath- The path where to relocate the extracted paths to.- Returns:
- The
PathMapwith the elements below the provided path "from-path" relocated to the given "to-path".
-
retrieveBetween
Extracts a newPathMapfrom the elements of thisPathMapfound below the "from-path". The sub-paths will be relocated to the provided "to-path".- Specified by:
retrieveBetweenin interfacePathMap<Class<?>>- Parameters:
aFromPath- The path from where to start extracting the paths.aToPath- The path where to relocate the extracted paths to.- Returns:
- The
PathMapwith the elements below the provided path "from-path" relocated to the given "to-path".
-
retrieveBetween
Extracts a newPathMapfrom the elements of thisPathMapfound below the "from-path". The sub-paths will be relocated to the provided "to-path".- Specified by:
retrieveBetweenin interfacePathMap<Class<?>>- Parameters:
aFromPath- The path from where to start extracting the paths.aToPath- The path where to relocate the extracted paths to.- Returns:
- The
PathMapwith the elements below the provided path "from-path" relocated to the given "to-path".
-
retrieveBetween
Extracts a newPathMapfrom the elements of thisPathMapfound below the "from-path". The sub-paths will be relocated to the provided "to-path".- Specified by:
retrieveBetweenin interfacePathMap<Class<?>>- Parameters:
aFromPath- The path from where to start extracting the paths.aToPath- The path where to relocate the extracted paths to.- Returns:
- The
PathMapwith the elements below the provided path "from-path" relocated to the given "to-path".
-
retrieveBetween
Extracts a newPathMapfrom the elements of thisPathMapfound below the "from-path". The sub-paths will be relocated to the provided "to-path".- Specified by:
retrieveBetweenin interfacePathMap<Class<?>>- Parameters:
aFromPath- The path from where to start extracting the paths.aToPath- The path where to relocate the extracted paths to.- Returns:
- The
PathMapwith 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- 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 interfacePathMap<Class<?>>- Parameters:
aPathElements- The path elements from where to retrieve the children.- Returns:
- The children of the given parent's path.
-
retrieveFrom
Extracts a newPathMapfrom the elements of thisPathMapfound below the "from-path". The sub-paths will be the root paths for the newPathMap. Given we have a value for path "/dog/cat" in thePathMapand we callPathMap.retrieveFrom(String)with "/dog", then the resultingPathMapwill contain the path "/cat" for that value.- Specified by:
retrieveFromin interfacePathMap<Class<?>>- Parameters:
aFromPath- The path from where to start extracting the paths.- Returns:
- The
PathMapwith the elements below the provided path which are root elements in the newPathMap.
-
retrieveFrom
Gets the children elements of the provided parent's path elements, excluding the parent's path.- Specified by:
retrieveFromin interfacePathMap<Class<?>>- 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. -
getDir
Gets the children elements of the provided parent's path, excluding the parent's path. -
getDir
Gets the children elements of the provided parent's path elements, excluding the parent's path. -
getDir
Gets the children elements of the provided parent's path elements, excluding the parent's path. -
getDir
Gets the children elements of the provided parent's path elements, excluding the 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 ofPathMap.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 interfacePathMap<Class<?>>- 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
PathMap.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 ofPathMap.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 interfacePathMap<Class<?>>- 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
PathMap.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 ofPathMap.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 interfacePathMap<Class<?>>- 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
PathMap.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 ofPathMap.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 interfacePathMap<Class<?>>- 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
PathMap.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 ofPathMap.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 interfacePathMap<Class<?>>- 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
PathMap.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
-
retrieveTo
Extracts a newPathMapfrom thisPathMap's elements with the paths relocated to the provided "to-path". Given we have a value for path "/dog/cat" in thePathMapand we callPathMap.retrieveTo(String)with "/animals", then the resultingPathMapwill contain the path "/animals/dog/cat" for that value. -
retrieveTo
Extracts a newPathMapfrom thisPathMap's elements with the paths relocated to the provided "to-path". Given we have a value for path "/dog/cat" in thePathMapand we callPathMap.retrieveTo(String)with "/animals", then the resultingPathMapwill contain the path "/animals/dog/cat" for that value. -
retrieveTo
Extracts a newPathMapfrom thisPathMap's elements with the paths relocated to the provided "to-path". Given we have a value for path "/dog/cat" in thePathMapand we callPathMap.retrieveTo(String)with "/animals", then the resultingPathMapwill contain the path "/animals/dog/cat" for that value. -
retrieveTo
Extracts a newPathMapfrom thisPathMap's elements with the paths relocated to the provided "to-path". Given we have a value for path "/dog/cat" in thePathMapand we callPathMap.retrieveTo(String)with "/animals", then the resultingPathMapwill contain the path "/animals/dog/cat" for that value. -
retrieveTo
Extracts a newPathMapfrom thisPathMap's elements with the paths relocated to the provided "to-path". Given we have a value for path "/dog/cat" in thePathMapand we callPathMap.retrieveTo(String)with "/animals", then the resultingPathMapwill contain the path "/animals/dog/cat" for that value. -
toMap
This method creates aMapinstance from thisClassStructMapinstance's elements (key/value-pairs) as of interoperability reasons. -
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 .
-
getArraySelector
Returns the array selector used in paths to identify an array type.- Returns:
- The array selector denoting array types.
-
isArrayType
default boolean isArrayType()Determines if the elements below the root path can be treated as an array.- Returns:
- True in case we have an array structure below the root path or not.
-
isArrayType
Determines if the elements below the given path elements can be treated as an array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have an array structure below the path or not.
-
isArrayType
Determines if the elements below the given path elements can be treated as an array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have an array structure below the path or not.
-
isArrayType
Determines if the elements below the given path can be treated as an array.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have an array structure below the path or not.
-
isArrayType
Determines if the elements below the given path elements can be treated as an array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have an array structure below the path or not.
-
isArrayType
Determines if the elements below the given path can be treated as an array.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have an array structure below the path or not.
-
isSimpleArrayType
default boolean isSimpleArrayType()Determines if the elements below the root path can be treated as a simple type array.- Returns:
- True in case we have a simple type types) array structure below the root path or not.
-
isSimpleArrayType
Determines if the elements below the given path can be treated as a simple type array.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a simple type types) array structure below the path or not.
-
isSimpleArrayType
Determines if the elements below the given path elements can be treated as a simple type array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a simple type types) array structure below the path or not.
-
isSimpleArrayType
Determines if the elements below the given path elements can be treated as a simple type array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a simple type types) array structure below the path or not.
-
isSimpleArrayType
Determines if the elements below the given path elements can be treated as a simple type array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a simple type types) array structure below the path or not.
-
isSimpleArrayType
Determines if the elements below the given path can be treated as a simple type array.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a simple type types) array structure below the path or not.
-
getSimpleArrayType
Retrieves the simple type of the array represented by the root path.- Returns:
- The array's simple type in case we have a simple type array structure below the root path, else null
-
getSimpleArrayType
Retrieves the simple type of the array represented by the given path.- Parameters:
aPath- the path representing an array of simple type.- Returns:
- The array's simple type in case we have a simple type array structure below the path, else null.
-
getSimpleArrayType
Retrieves the simple type of the array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of simple type.- Returns:
- The array's simple type in case we have a simple type array structure below the path, else null.
-
getSimpleArrayType
Retrieves the simple type of the array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of simple type.- Returns:
- The array's simple type in case we have a simple type array structure below the path, else null.
-
getSimpleArrayType
Retrieves the simple type of the array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of simple type.- Returns:
- The array's simple type in case we have a simple type array structure below the path, else null.
-
getSimpleArrayType
Retrieves the simple type of the array represented by the given path.- Parameters:
aPath- the path representing an array of simple type.- Returns:
- The array's simple type in case we have a simple type array structure below the path, else null.
-
isSimpleType
default boolean isSimpleType()Determines if the elements below the root path can be treated as a simple type.- Returns:
- True in case we have a simple type types) below the root path or not.
-
isSimpleType
Determines if the elements below the given path can be treated as a simple type.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a simple type types) below the path or not.
-
isSimpleType
Determines if the elements below the given path elements can be treated as a simple type.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a simple type types) below the path or not.
-
isSimpleType
Determines if the elements below the given path elements can be treated as a simple type.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a simple type types) below the path or not.
-
isSimpleType
Determines if the elements below the given path elements can be treated as a simple type.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a simple type types) below the path or not.
-
isSimpleType
Determines if the elements below the given path can be treated as a simple type.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a simple type types) below the path or not.
-
getSimpleType
Retrieves the simple type represented by the root path.- Returns:
- The simple type in case we have a simple type types) structure below the root path, else null
-
getSimpleType
Retrieves the simple type represented by the given path.- Parameters:
aPath- the path representing an array of simple type.- Returns:
- The simple type in case we have a simple type types) below the path, else null.
-
getSimpleType
Retrieves the simple type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of simple type.- Returns:
- The simple type in case we have a simple type types) below the path, else null.
-
getSimpleType
Retrieves the simple type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of simple type.- Returns:
- The simple type in case we have a simple type types) below the path, else null.
-
getSimpleType
Retrieves the simple type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of simple type.- Returns:
- The simple type in case we have a simple type types) below the path, else null.
-
getSimpleType
Retrieves the simple type represented by the given path.- Parameters:
aPath- the path representing an array of simple type.- Returns:
- The simple type in case we have a simple type types) below the path, else null.
-
isPrimitiveArrayType
default boolean isPrimitiveArrayType()Determines if the elements below the root path can be treated as a primitive type array.- Returns:
- True in case we have a primitive type types) array structure below the root path or not.
-
isPrimitiveArrayType
Determines if the elements below the given path can be treated as a primitive type array.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a primitive type types) array structure below the path or not.
-
isPrimitiveArrayType
Determines if the elements below the given path elements can be treated as a primitive type array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a primitive type types) array structure below the path or not.
-
isPrimitiveArrayType
Determines if the elements below the given path elements can be treated as a primitive type array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a primitive type types) array structure below the path or not.
-
isPrimitiveArrayType
Determines if the elements below the given path elements can be treated as a primitive type array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a primitive type types) array structure below the path or not.
-
isPrimitiveArrayType
Determines if the elements below the given path can be treated as a primitive type array.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a primitive type types) array structure below the path or not.
-
getPrimitiveArrayType
Retrieves the primitive type of the array represented by the root path.- Returns:
- The array's primitive type in case we have a primitive type array structure below the root path, else null
-
getPrimitiveArrayType
Retrieves the primitive type of the array represented by the given path.- Parameters:
aPath- the path representing an array of primitive type.- Returns:
- The array's primitive type in case we have a primitive type array structure below the path, else null.
-
getPrimitiveArrayType
Retrieves the primitive type of the array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of primitive type.- Returns:
- The array's primitive type in case we have a primitive type array structure below the path, else null.
-
getPrimitiveArrayType
Retrieves the primitive type of the array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of primitive type.- Returns:
- The array's primitive type in case we have a primitive type array structure below the path, else null.
-
getPrimitiveArrayType
Retrieves the primitive type of the array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of primitive type.- Returns:
- The array's primitive type in case we have a primitive type array structure below the path, else null.
-
getPrimitiveArrayType
Retrieves the primitive type of the array represented by the given path.- Parameters:
aPath- the path representing an array of primitive type.- Returns:
- The array's primitive type in case we have a primitive type array structure below the path, else null.
-
isPrimitiveType
default boolean isPrimitiveType()Determines if the elements below the root path can be treated as a primitive type.- Returns:
- True in case we have a primitive type types) below the root path or not.
-
isPrimitiveType
Determines if the elements below the given path can be treated as a primitive type.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a primitive type types) below the path or not.
-
isPrimitiveType
Determines if the elements below the given path elements can be treated as a primitive type.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a primitive type types) below the path or not.
-
isPrimitiveType
Determines if the elements below the given path elements can be treated as a primitive type.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a primitive type types) below the path or not.
-
isPrimitiveType
Determines if the elements below the given path elements can be treated as a primitive type.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a primitive type types) below the path or not.
-
isPrimitiveType
Determines if the elements below the given path can be treated as a primitive type.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a primitive type types) below the path or not.
-
getPrimitiveType
Retrieves the primitive type represented by the root path.- Returns:
- The primitive type in case we have a primitive type types) structure below the root path, else null
-
getPrimitiveType
Retrieves the primitive type represented by the given path.- Parameters:
aPath- the path representing an array of primitive type.- Returns:
- The primitive type in case we have a primitive type types) below the path, else null.
-
getPrimitiveType
Retrieves the primitive type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of primitive type.- Returns:
- The primitive type in case we have a primitive type types) below the path, else null.
-
getPrimitiveType
Retrieves the primitive type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of primitive type.- Returns:
- The primitive type in case we have a primitive type types) below the path, else null.
-
getPrimitiveType
Retrieves the primitive type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of primitive type.- Returns:
- The primitive type in case we have a primitive type types) below the path, else null.
-
getPrimitiveType
Retrieves the primitive type represented by the given path.- Parameters:
aPath- the path representing an array of primitive type.- Returns:
- The primitive type in case we have a primitive type types) below the path, else null.
-
isWrapperArrayType
default boolean isWrapperArrayType()Determines if the elements below the root path can be treated as a wrapper type array.- Returns:
- True in case we have a wrapper type array structure below the root path or not.
-
isWrapperArrayType
Determines if the elements below the given path can be treated as a wrapper type array.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a wrapper type array structure below the path or not.
-
isWrapperArrayType
Determines if the elements below the given path elements can be treated as a wrapper type array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a wrapper type array structure below the path or not.
-
isWrapperArrayType
Determines if the elements below the given path elements can be treated as a wrapper type array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a wrapper type array structure below the path or not.
-
isWrapperArrayType
Determines if the elements below the given path elements can be treated as a wrapper type array.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a wrapper type array structure below the path or not.
-
isWrapperArrayType
Determines if the elements below the given path can be treated as a wrapper type array.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a wrapper type array structure below the path or not.
-
getWrapperArrayType
Retrieves the wrapper type of the array represented by the root path.- Returns:
- The array's wrapper type in case we have a wrapper type array structure below the root path, else null
-
getWrapperArrayType
Retrieves the wrapper type of the array represented by the given path.- Parameters:
aPath- the path representing an array of wrapper type.- Returns:
- The array's wrapper type in case we have a wrapper type array structure below the path, else null.
-
getWrapperArrayType
Retrieves the wrapper type of the array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of wrapper type.- Returns:
- The array's wrapper type in case we have a wrapper type array structure below the path, else null.
-
getWrapperArrayType
Retrieves the wrapper type of the array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of wrapper type.- Returns:
- The array's wrapper type in case we have a wrapper type array structure below the path, else null.
-
getWrapperArrayType
Retrieves the wrapper type of the array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of wrapper type.- Returns:
- The array's wrapper type in case we have a wrapper type array structure below the path, else null.
-
getWrapperArrayType
Retrieves the wrapper type of the array represented by the given path.- Parameters:
aPath- the path representing an array of wrapper type.- Returns:
- The array's wrapper type in case we have a wrapper type array structure below the path, else null.
-
isWrapperType
default boolean isWrapperType()Determines if the elements below the root path can be treated as a wrapper type.- Returns:
- True in case we have a wrapper type below the root path or not.
-
isWrapperType
Determines if the elements below the given path can be treated as a wrapper type.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a wrapper type below the path or not.
-
isWrapperType
Determines if the elements below the given path elements can be treated as a wrapper type.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a wrapper type below the path or not.
-
isWrapperType
Determines if the elements below the given path elements can be treated as a wrapper type.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a wrapper type below the path or not.
-
isWrapperType
Determines if the elements below the given path elements can be treated as a wrapper type.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a wrapper type below the path or not.
-
isWrapperType
Determines if the elements below the given path can be treated as a wrapper type.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a wrapper type below the path or not.
-
getWrapperType
Retrieves the wrapper type represented by the root path.- Returns:
- The wrapper type in case we have a wrapper type types) structure below the root path, else null
-
getWrapperType
Retrieves the wrapper type represented by the given path.- Parameters:
aPath- the path representing an array of wrapper type.- Returns:
- The wrapper type in case we have a wrapper type types) below the path, else null.
-
getWrapperType
Retrieves the wrapper type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of wrapper type.- Returns:
- The wrapper type in case we have a wrapper type types) below the path, else null.
-
getWrapperType
Retrieves the wrapper type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of wrapper type.- Returns:
- The wrapper type in case we have a wrapper type types) below the path, else null.
-
getWrapperType
Retrieves the wrapper type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of wrapper type.- Returns:
- The wrapper type in case we have a wrapper type types) below the path, else null.
-
getWrapperType
Retrieves the wrapper type represented by the given path.- Parameters:
aPath- the path representing an array of wrapper type.- Returns:
- The wrapper type in case we have a wrapper type types) below the path, else null.
-
isCompositeArrayDir
default boolean isCompositeArrayDir()Determines if the elements below the root path can be treated as a composite type directory.- Returns:
- True in case we have a composite type directory structure below the root path or not.
-
isCompositeArrayDir
Determines if the elements below the given path can be treated as a composite type directory.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a composite type directory structure below the path or not.
-
isCompositeArrayDir
Determines if the elements below the given path elements can be treated as a composite type directory.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a composite type directory structure below the path or not.
-
isCompositeArrayDir
Determines if the elements below the given path elements can be treated as a composite type directory.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a composite type directory structure below the path or not.
-
isCompositeArrayDir
Determines if the elements below the given path elements can be treated as a composite type directory.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a composite type directory structure below the path or not.
-
isCompositeArrayDir
Determines if the elements below the given path can be treated as a composite type directory.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a composite type directory structure below the path or not.
-
getCompositeArrayDir
Retrieves the directory of the composite type's array represented by the root path.- Returns:
- The array's composite type in case we have a composite type array structure below the root path, else null
-
getCompositeArrayDir
Retrieves the directory of the composite type's array represented by the given path.- Parameters:
aPath- the path representing an array of composite types.- Returns:
- The array's composite type in case we have a composite type array structure below the path, else null.
-
getCompositeArrayDir
Retrieves the directory of the composite type's array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of composite types.- Returns:
- The array's composite type in case we have a composite type array structure below the path, else null.
-
getCompositeArrayDir
Retrieves the directory of the composite type's array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of composite types.- Returns:
- The array's composite type in case we have a composite type array structure below the path, else null.
-
getCompositeArrayDir
Retrieves the directory of the composite type's array represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an array of composite types.- Returns:
- The array's composite type in case we have a composite type array structure below the path, else null.
-
getCompositeArrayDir
Retrieves the directory of the composite type's array represented by the given path.- Parameters:
aPath- the path representing an array of composite types.- Returns:
- The array's composite type in case we have a composite type array structure below the path, else null.
-
isCompositeDir
default boolean isCompositeDir()Determines if the elements below the root path can be treated as a composite type directory.- Returns:
- True in case we have a composite type directory structure below the root path or not.
-
isCompositeDir
Determines if the elements below the given path can be treated as a composite type directory.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a composite type directory structure below the path or not.
-
isCompositeDir
Determines if the elements below the given path elements can be treated as a composite type directory.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a composite type directory structure below the path or not.
-
isCompositeDir
Determines if the elements below the given path elements can be treated as a composite type directory.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a composite type directory structure below the path or not.
-
isCompositeDir
Determines if the elements below the given path elements can be treated as a composite type directory.- Parameters:
aPathElements- the path elements of the path which to test.- Returns:
- True in case we have a composite type directory structure below the path or not.
-
isCompositeDir
Determines if the elements below the given path can be treated as a composite type directory.- Parameters:
aPath- the path which to test.- Returns:
- True in case we have a composite type directory structure below the path or not.
-
getCompositeDir
Retrieves the directory of the composite type represented by the root path.- Returns:
- The 's composite type in case we have a composite type structure below the root path, else null
-
getCompositeDir
Retrieves the directory of the composite type represented by the given path.- Parameters:
aPath- the path representing an of composite types.- Returns:
- The 's composite type in case we have a composite type structure below the path, else null.
-
getCompositeDir
Retrieves the directory of the composite type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an of composite types.- Returns:
- The 's composite type in case we have a composite type structure below the path, else null.
-
getCompositeDir
Retrieves the directory of the composite type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an of composite types.- Returns:
- The 's composite type in case we have a composite type structure below the path, else null.
-
getCompositeDir
Retrieves the directory of the composite type represented by the given path.- Parameters:
aPathElements- the path elements of the path representing an of composite types.- Returns:
- The 's composite type in case we have a composite type structure below the path, else null.
-
getCompositeDir
Retrieves the directory of the composite type represented by the given path.- Parameters:
aPath- the path representing an of composite types.- Returns:
- The 's composite type in case we have a composite type structure below the path, else null.
-