T
- The type of the terminating elements.org.refcodes.mixin.AnnotatorAccessor
, org.refcodes.mixin.Clearable
, Containable
, org.refcodes.mixin.DelimiterAccessor
, Dictionary<String,T>
, Dictionary.MutableDictionary<String,T>
, org.refcodes.mixin.Dumpable
, Keys<K,V>
, Keys.MutableKeys<K,V>
, Keys.MutableValues<K,V>
, Map<String,T>
, PathMap<T>
, org.refcodes.mixin.TypeAccessor<T>
CanonicalMap.CanonicalMapBuilder
, CanonicalMap.MutableCanonicalMap
, ClassStructMap.ClassStructMapBuilder
, ClassStructMap.MutableClassStructMap
, InterOperableMap.InterOperableMapBuilder<T>
, InterOperableMap.MutableInterOperableMap<T>
, PathMap.PathMapBuilder<T>
, SimpleTypeMap.MutableSimpleTypeMap
, SimpleTypeMap.SimpleTypeMapBuilder
CanonicalMapBuilderImpl
, ClassStructMapBuilderImpl
, PathMapBuilderImpl
, SimpleTypeMapBuilderImpl
public static interface PathMap.MutablePathMap<T> extends PathMap<T>, Dictionary.MutableDictionary<String,T>, Map<String,T>
PathMap.MutablePathMap
adds mutable functionality to the
PathMap
.org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B extends org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B>>, org.refcodes.mixin.AnnotatorAccessor.AnnotatorMutator, org.refcodes.mixin.AnnotatorAccessor.AnnotatorProperty
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
Dictionary.MutableDictionary<K,V>
Dictionary.MutableDictionary.DictionaryBuilder<K,V,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
Map.Entry<K extends Object,V extends Object>
PathMap.MutablePathMap<T>, PathMap.PathMapBuilder<T>
org.refcodes.mixin.TypeAccessor.TypeBuilder<T extends Object,B extends org.refcodes.mixin.TypeAccessor.TypeBuilder<T,B>>, org.refcodes.mixin.TypeAccessor.TypeMutator<T extends Object>, org.refcodes.mixin.TypeAccessor.TypeProperty<T extends Object>
Modifier and Type | Method | Description |
---|---|---|
default void |
add(Object[] aPathElements,
T aValue) |
Adds the given value to the path not overwriting any existing values:
If the path points to a single value (and not to an array), then that
value's path is converted to an array representation and the given
value is appended to that array.
|
default void |
add(Object aPath,
T aValue) |
Adds the given value to the path not overwriting any existing values:
If the path points to a single value (and not to an array), then that
value's path is converted to an array representation and the given
value is appended to that array.
|
default void |
add(String[] aPathElements,
T aValue) |
Adds the given value to the path not overwriting any existing values:
If the path points to a single value (and not to an array), then that
value's path is converted to an array representation and the given
value is appended to that array.
|
default void |
add(String aPath,
T aValue) |
Adds the given value to the path not overwriting any existing values:
If the path points to a single value (and not to an array), then that
value's path is converted to an array representation and the given
value is appended to that array.
|
default void |
add(Collection<?> aPathElements,
T aValue) |
Adds the given value to the path not overwriting any existing values:
If the path points to a single value (and not to an array), then that
value's path is converted to an array representation and the given
value is appended to that array.
|
default void |
add(T aValue) |
Adds an element to the next index as of
PathMap.nextArrayIndex(String[]) . |
default void |
appendDirTo(Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(Object[] aPathElements,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(Object[] aPathElements,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(Object aPath,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(Object aPath,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(String[] aPathElements,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(String[] aPathElements,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(String aPath,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(String aPath,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(Collection<?> aPathElements,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(Collection<?> aPathElements,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendDirTo(PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default void |
appendValueTo(Object[] aPathElements,
T aValue) |
Adds an element to the next index as of
PathMap.nextArrayIndex(String[]) . |
default void |
appendValueTo(Object aPath,
T aValue) |
Adds an element to the next index as of
PathMap.nextArrayIndex(String[]) . |
default void |
appendValueTo(String[] aPathElements,
T aValue) |
Adds an element to the next index as of
PathMap.nextArrayIndex(String) . |
default void |
appendValueTo(String aPath,
T aValue) |
Adds an element to the next index as of
PathMap.nextArrayIndex(String) . |
default void |
appendValueTo(Collection<?> aPathElements,
T aValue) |
Adds an element to the next index as of
PathMap.nextArrayIndex(String[]) . |
default void |
appendValueTo(T aValue) |
Adds an element to the next index as of
PathMap.nextArrayIndex() . |
default T |
delete(Object aPath) |
Removes an element identified by the given key.
|
default T |
delete(Object[] aPathElements) |
Removes an element identified by the given key.
|
default T |
delete(String aPath) |
Removes an element identified by the given key.
|
default T |
delete(String[] aPathElements) |
Removes an element identified by the given key.
|
default T |
delete(Collection<?> aPathElements) |
Removes an element identified by the given key.
|
void |
insert(Object aFrom) |
Inspects the given object and adds all elements found in the given
object.
|
default void |
insert(PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
default void |
insertBetween(Object[] aToPathElements,
Object aFrom,
Object[] aFromPathElements) |
Same as
insert(Object) though starting insertion of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. |
default void |
insertBetween(Object[] aToPathElements,
PathMap<T> aFrom,
Object[] aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
default void |
insertBetween(Object aToPath,
Object aFrom,
Object aFromPath) |
Same as
insert(Object) though starting insertion of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. |
default void |
insertBetween(Object aToPath,
PathMap<T> aFrom,
Object aFromPath) |
Method to semantically emphasize that we support our own types.
|
default void |
insertBetween(String[] aToPathElements,
Object aFrom,
String[] aFromPathElements) |
Same as
insert(Object) though starting insertion of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. |
default void |
insertBetween(String[] aToPathElements,
PathMap<T> aFrom,
String[] aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
void |
insertBetween(String aToPath,
Object aFrom,
String aFromPath) |
Same as
insert(Object) though starting insertion of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. |
default void |
insertBetween(String aToPath,
PathMap<T> aFrom,
String aFromPath) |
Method to semantically emphasize that we support our own types.
|
default void |
insertBetween(Collection<?> aToPathElements,
Object aFrom,
Collection<?> aFromPathElements) |
Same as
insert(Object) though starting insertion of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. |
default void |
insertBetween(Collection<?> aToPathElements,
PathMap<T> aFrom,
Collection<?> aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
default void |
insertFrom(Object aFrom,
Object aFromPath) |
Same as
insert(Object) though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. |
default void |
insertFrom(Object aFrom,
Object... aFromPathElements) |
Same as
insert(Object) though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. |
void |
insertFrom(Object aFrom,
String aFromPath) |
Same as
insert(Object) though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. |
default void |
insertFrom(Object aFrom,
String... aFromPathElements) |
Same as
insert(Object) though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. |
default void |
insertFrom(Object aFrom,
Collection<?> aFromPathElements) |
Same as
insert(Object) though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. |
default void |
insertFrom(PathMap<T> aFrom,
Object aFromPath) |
Method to semantically emphasize that we support our own types.
|
default void |
insertFrom(PathMap<T> aFrom,
Object... aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
default void |
insertFrom(PathMap<T> aFrom,
String aFromPath) |
Method to semantically emphasize that we support our own types.
|
default void |
insertFrom(PathMap<T> aFrom,
String... aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
default void |
insertFrom(PathMap<T> aFrom,
Collection<?> aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
default void |
insertTo(Object[] aToPathElements,
Object aFrom) |
Same as
insert(Object) though starting insertion of object's
introspected values at the given "path". |
default void |
insertTo(Object[] aToPathElements,
PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
default void |
insertTo(Object aToPath,
Object aFrom) |
Same as
insert(Object) though starting insertion of object's
introspected values at the given "path". |
default void |
insertTo(Object aToPath,
PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
default void |
insertTo(String[] aToPathElements,
Object aFrom) |
Same as
insert(Object) though starting insertion of object's
introspected values at the given "path". |
default void |
insertTo(String[] aToPathElements,
PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
void |
insertTo(String aToPath,
Object aFrom) |
Same as
insert(Object) though starting insertion of object's
introspected values at the given "path". |
default void |
insertTo(String aToPath,
PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
default void |
insertTo(Collection<?> aToPathElements,
Object aFrom) |
Same as
insert(Object) though starting insertion of object's
introspected values at the given "path". |
default void |
insertTo(Collection<?> aToPathElements,
PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
void |
merge(Object aFrom) |
Inspects the given object and adds all elements found in the given
object in case the targeted path does not exist or points to a null
value.
|
default void |
merge(PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeBetween(Object[] aToPathElements,
Object aFrom,
Object[] aFromPathElements) |
Same as
merge(Object) though starting merging of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. |
default void |
mergeBetween(Object[] aToPathElements,
PathMap<T> aFrom,
Object[] aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeBetween(Object aToPath,
Object aFrom,
Object aFromPath) |
Same as
merge(Object) though starting merging of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. |
default void |
mergeBetween(Object aToPath,
PathMap<T> aFrom,
Object aFromPath) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeBetween(String[] aToPathElements,
Object aFrom,
String[] aFromPathElements) |
Same as
merge(Object) though starting merging of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. |
default void |
mergeBetween(String[] aToPathElements,
PathMap<T> aFrom,
String[] aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
void |
mergeBetween(String aToPath,
Object aFrom,
String aFromPath) |
Same as
merge(Object) though starting merging of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. |
default void |
mergeBetween(String aToPath,
PathMap<T> aFrom,
String aFromPath) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeBetween(Collection<?> aToPathElements,
Object aFrom,
Collection<?> aFromPathElements) |
Same as
merge(Object) though starting merging of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. |
default void |
mergeBetween(Collection<?> aToPathElements,
PathMap<T> aFrom,
Collection<?> aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeFrom(Object aFrom,
Object aFromPath) |
Same as
merge(Object) though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. |
default void |
mergeFrom(Object aFrom,
Object... aFromPathElements) |
Same as
merge(Object) though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. |
void |
mergeFrom(Object aFrom,
String aFromPath) |
Same as
merge(Object) though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. |
default void |
mergeFrom(Object aFrom,
String... aFromPathElements) |
Same as
merge(Object) though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. |
default void |
mergeFrom(Object aFrom,
Collection<?> aFromPathElements) |
Same as
merge(Object) though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. |
default void |
mergeFrom(PathMap<T> aFrom,
Object aFromPath) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeFrom(PathMap<T> aFrom,
Object... aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeFrom(PathMap<T> aFrom,
String aFromPath) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeFrom(PathMap<T> aFrom,
String... aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeFrom(PathMap<T> aFrom,
Collection<?> aFromPathElements) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeTo(Object[] aToPathElements,
Object aFrom) |
Same as
merge(Object) though starting merging of object's
introspected values at the given "path". |
default void |
mergeTo(Object[] aToPathElements,
PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeTo(Object aToPath,
Object aFrom) |
Same as
merge(Object) though starting merging of object's
introspected values at the given "path". |
default void |
mergeTo(Object aToPath,
PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeTo(String[] aToPathElements,
Object aFrom) |
Same as
merge(Object) though starting merging of object's
introspected values at the given "path". |
default void |
mergeTo(String[] aToPathElements,
PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
void |
mergeTo(String aToPath,
Object aFrom) |
Same as
merge(Object) though starting merging of object's
introspected values at the given "path". |
default void |
mergeTo(String aToPath,
PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
default void |
mergeTo(Collection<?> aToPathElements,
Object aFrom) |
Same as
merge(Object) though starting merging of object's
introspected values at the given "path". |
default void |
mergeTo(Collection<?> aToPathElements,
PathMap<T> aFrom) |
Method to semantically emphasize that we support our own types.
|
default T |
put(Object[] aPathElements,
T aValue) |
Puts the given value into the child's path, relative to the given
parent's path.
|
default T |
put(String[] aPathElements,
T aValue) |
Puts the given value into the child's path, relative to the given
parent's path.
|
default T |
put(Collection<?> aPathElements,
T aValue) |
Puts the given value into the child's path, relative to the given
parent's path.
|
default T |
put(Relation<String,T> aRelation) |
Adds the given element related to the given key.
|
default T[] |
putArray(Object[] aPathElements,
Collection<T> aValues) |
Sets the leaves below the given path in an array and replaces any
existing array.
|
default T[] |
putArray(Object[] aPathElements,
T[] aValues) |
Sets the leaves below the given path in an array and replaces any
existing array.
|
default T[] |
putArray(Object aPath,
Collection<T> aValues) |
Sets the leaves below the given path in an array and replaces any
existing array.
|
default T[] |
putArray(Object aPath,
T[] aValues) |
Sets the leaves below the given path in an array and replaces any
existing array.
|
default T[] |
putArray(String[] aPathElements,
Collection<T> aValues) |
Sets the leaves below the given path in an array and replaces any
existing array.
|
default T[] |
putArray(String[] aPathElements,
T[] aValues) |
Sets the leaves below the given path in an array and replaces any
existing array.
|
default T[] |
putArray(String aPath,
Collection<T> aValues) |
Sets the leaves below the given path in an array and replaces any
existing array.
|
default T[] |
putArray(String aPath,
T[] aValues) |
Sets the leaves below the given path in an array and replaces any
existing array.
|
default T[] |
putArray(Collection<?> aPathElements,
Collection<T> aValues) |
Sets the leaves below the given path in an array and replaces any
existing array.
|
default T[] |
putArray(Collection<?> aPathElements,
T[] aValues) |
Sets the leaves below the given path in an array and replaces any
existing array.
|
default T[] |
putArray(Collection<T> aValues) |
Applies the
putArray(Object[]) method for the root path "/". |
default T[] |
putArray(T[] aValues) |
Applies the
putArray(Object[]) method for the root path "/". |
default PathMap<T> |
putDirAt(int aIndex,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(int aIndex,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(Object[] aPathElements,
int aIndex,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(Object[] aPathElements,
int aIndex,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(Object aPath,
int aIndex,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(Object aPath,
int aIndex,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(String[] aPathElements,
int aIndex,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(String[] aPathElements,
int aIndex,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(String aPath,
int aIndex,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(String aPath,
int aIndex,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(Collection<?> aPathElements,
int aIndex,
Object aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
putDirAt(Collection<?> aPathElements,
int aIndex,
PathMap<T> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default T |
putValueAt(int aIndex,
T aValue) |
Puts a value below the root path at the given index as of
putArray(String, Object[]) . |
default T |
putValueAt(Object[] aPathElements,
int aIndex,
T aValue) |
Puts a value below the path at the given index as of
putArray(String, Object[]) . |
default T |
putValueAt(Object aPath,
int aIndex,
T aValue) |
Puts a value below the path at the given index as of
putArray(String, Object[]) . |
default T |
putValueAt(String[] aPathElements,
int aIndex,
T aValue) |
Puts a value below the path at the given index as of
putArray(String, Object[]) . |
default T |
putValueAt(String aPath,
int aIndex,
T aValue) |
Puts a value below the path at the given index as of
putArray(String, Object[]) . |
default T |
putValueAt(Collection<?> aPathElements,
int aIndex,
T aValue) |
Puts a value below the path at the given index as of
putArray(String, Object[]) . |
default T |
remove(Object... aPathElements) |
Removes the property as of
Map.remove(Object) for the provided
path elements (as of PathMap.toPath(Object...) ). |
default T |
remove(String... aPathElements) |
Removes the property as of
Map.remove(Object) for the provided
path elements (as of PathMap.toPath(String...) ). |
default T |
remove(String aPathElement1,
String aPathElement2) |
Removes the property as of
Map.remove(Object) for the provided
path elements (as of PathMap.toPath(String...) ). |
default PathMap<T> |
removeAll(Object aPathQuery) |
Removes all elements which's keys match the provided path query.
|
default PathMap<T> |
removeAll(Object... aPathQueryElements) |
Removes all elements which's keys match the provided path query.
|
default PathMap<T> |
removeAll(String aPathQuery) |
Removes all elements which's keys match the provided path query.
|
default PathMap<T> |
removeAll(String... aPathQueryElements) |
Removes all elements which's keys match the provided path query.
|
default PathMap<T> |
removeAll(Collection<?> aPathQueryElements) |
Removes all elements which's keys match the provided path query.
|
default PathMap<T> |
removeAll(Pattern aRegExp) |
Removes all elements which's keys match the provided regular
expression: Queries the keys of the instance using the provided
Pattern |
default PathMap<T> |
removeDirAt(int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
removeDirAt(Object[] aPathElements,
int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
removeDirAt(Object aPath,
int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
removeDirAt(String[] aPathElements,
int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
removeDirAt(String aPath,
int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default PathMap<T> |
removeFrom(Object aPath) |
Removes all properties below the provided path and returns the
PathMap with the removed elements, by which the paths exclude
the parent's path. |
default PathMap<T> |
removeFrom(Object... aPathElements) |
Removes all properties below the provided path and returns the
PathMap with the removed elements, by which the paths exclude
the parent's path. |
default PathMap<T> |
removeFrom(String aPath) |
Removes all properties below the provided path and returns the
PathMap with the removed elements, by which the paths exclude
the parent's path. |
default PathMap<T> |
removeFrom(String... aPathElements) |
Removes all properties below the provided path and returns the
PathMap with the removed elements, by which the paths exclude
the parent's path. |
default PathMap<T> |
removeFrom(Collection<?> aPathElements) |
Removes all properties below the provided path and returns the
PathMap with the removed elements, by which the paths exclude
the parent's path. |
default PathMap<T> |
removePaths(String... aPaths) |
Removes the paths contained in the provided collection.
|
default PathMap<T> |
removePaths(Collection<?> aPaths) |
Removes the paths contained in the provided collection.
|
default T |
removeValueAt(int aIndex) |
Removes the value of an array at the root path with the given array
index.
|
default T |
removeValueAt(Object[] aPathElements,
int aIndex) |
Removes the value of an array at the given path path with the given
array index.
|
default T |
removeValueAt(Object aPath,
int aIndex) |
Removes the value of an array at the given path path with the given
array index.
|
default T |
removeValueAt(String[] aPathElements,
int aIndex) |
Removes the value of an array at the given path path with the given
array index.
|
default T |
removeValueAt(String aPath,
int aIndex) |
Removes the value of an array at the given path path with the given
array index.
|
default String |
toSourceCode() |
Beta, don't know whether to keep this or not: Creates a class (a
String text to be copy'n'pasted) with getters and setters for
the herein contained paths and their values. |
default String |
toSourceCode(String aClassName,
String aPackage) |
Beta, don't know whether to keep this or not: Creates a class (a
String text to be copy'n'pasted) with getters and setters for
the herein contained paths and their values. |
isEmpty, size
containsKey, containsValue, get, getOr, keySet, use, values
put
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
children, children, children, children, children, children, containsKey, containsKey, containsKey, dirs, dirs, dirs, dirs, dirs, dirs, findPaths, fromExternalPath, get, get, get, getArray, getArray, getArray, getArray, getArray, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getDir, getDir, getDir, getDir, getDir, getDirAt, getDirAt, getDirAt, getDirAt, getDirAt, getDirAt, 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, query, query, query, query, query, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, queryTo, queryTo, queryTo, queryTo, queryTo, queryTo, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveTo, retrieveTo, retrieveTo, retrieveTo, retrieveTo, 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, toMap, toNormalizedPath, toParentPath, toPath, toPath, toPath, toPathElements, toPathList, toPathStack, toPropertyPath, toType, toType
default void add(Collection<?> aPathElements, T aValue)
aPathElements
- The path elements to which to add the element.aValue
- The value to be added.default void add(Object aPath, T aValue)
aPath
- The path to which to add the element.aValue
- The value to be added.default void add(Object[] aPathElements, T aValue)
aPathElements
- The path elements to which to add the element.aValue
- The value to be added.default void add(String aPath, T aValue)
aPath
- The path to which to add the element.aValue
- The value to be added.default void add(String[] aPathElements, T aValue)
aPathElements
- The path elements to which to add the element.aValue
- The value to be added.default void add(T aValue)
PathMap.nextArrayIndex(String[])
. If the path points to a single
value (and not to an array), then that value's path is converted to
an array representation and the given value is appended to that
array.aValue
- The value to be appended.default void appendDirTo(Collection<?> aPathElements, Object aDir) throws IllegalArgumentException
PathMap.nextDirIndex(String[])
.aPathElements
- The path elements of the path to which to append
the given elements.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default void appendDirTo(Collection<?> aPathElements, PathMap<T> aDir) throws IllegalArgumentException
PathMap.nextDirIndex(String[])
.aPathElements
- The path elements of the path to which to append
the given elements.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default void appendDirTo(Object aDir) throws IllegalArgumentException
PathMap.nextDirIndex()
.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir()
.default void appendDirTo(Object aPath, Object aDir) throws IllegalArgumentException
PathMap.nextDirIndex(String[])
.aPath
- The path to which to append the given elements.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default void appendDirTo(Object aPath, PathMap<T> aDir) throws IllegalArgumentException
PathMap.nextDirIndex(String[])
.aPath
- The path to which to append the given elements.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default void appendDirTo(Object[] aPathElements, Object aDir) throws IllegalArgumentException
PathMap.nextDirIndex(String[])
.aPathElements
- The path elements of the path to which to append
the given elements.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default void appendDirTo(Object[] aPathElements, PathMap<T> aDir) throws IllegalArgumentException
PathMap.nextDirIndex(String[])
.aPathElements
- The path elements of the path to which to append
the given elements.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default void appendDirTo(PathMap<T> aDir) throws IllegalArgumentException
PathMap.nextDirIndex()
.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir()
.default void appendDirTo(String aPath, Object aDir) throws IllegalArgumentException
PathMap.nextDirIndex(String)
.aPath
- The path to which to append the given elements.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default void appendDirTo(String aPath, PathMap<T> aDir) throws IllegalArgumentException
PathMap.nextDirIndex(String)
.aPath
- The path to which to append the given elements.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default void appendDirTo(String[] aPathElements, Object aDir) throws IllegalArgumentException
PathMap.nextDirIndex(String)
.aPathElements
- The path elements of the path to which to append
the given elements.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default void appendDirTo(String[] aPathElements, PathMap<T> aDir) throws IllegalArgumentException
PathMap.nextDirIndex(String)
.aPathElements
- The path elements of the path to which to append
the given elements.aDir
- The values to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default void appendValueTo(Collection<?> aPathElements, T aValue) throws IllegalArgumentException
PathMap.nextArrayIndex(String[])
.aPathElements
- The path elements of the path to which to append
the next indexed element.aValue
- The value to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default void appendValueTo(Object aPath, T aValue) throws IllegalArgumentException
PathMap.nextArrayIndex(String[])
.aPath
- The path to which to append the next indexed element.aValue
- The value to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default void appendValueTo(Object[] aPathElements, T aValue) throws IllegalArgumentException
PathMap.nextArrayIndex(String[])
.aPathElements
- The path elements of the path to which to append
the next indexed element.aValue
- The value to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default void appendValueTo(String aPath, T aValue) throws IllegalArgumentException
PathMap.nextArrayIndex(String)
.aPath
- The path to which to append the next indexed element.aValue
- The value to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default void appendValueTo(String[] aPathElements, T aValue) throws IllegalArgumentException
PathMap.nextArrayIndex(String)
.aPathElements
- The path elements of the path to which to append
the next indexed element.aValue
- The value to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default void appendValueTo(T aValue) throws IllegalArgumentException
PathMap.nextArrayIndex()
.aValue
- The value to be appended.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray()
.default T delete(Collection<?> aPathElements)
aPathElements
- The path elements of the path which's element is
to be removed.default T delete(Object aPath)
aPath
- The path which's element is to be removed.default T delete(Object[] aPathElements)
aPathElements
- The path elements of the path which's element is
to be removed.default T delete(String aPath)
delete
in interface Keys.MutableKeys<K,V>
aPath
- The key which's element is to be removed.default T delete(String[] aPathElements)
aPathElements
- The path elements of the path which's element is
to be removed.void insert(Object aFrom)
Map
, Collection
and arrays
are identified and handled as of their type: The path for each value
in a Map
is appended with its according key. The path for
each value in a Collection
or array is appended with its
according index of occurrence (in case of a List
or an array,
its actual index). In case of reflection, the path for each member is
appended with its according mamber's name. All elements (e.g. the
members and values) are inspected recursively which results in the
according paths of the terminating values.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void insert(PathMap<T> aFrom)
insert(Object)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.default void insertBetween(Collection<?> aToPathElements, Object aFrom, Collection<?> aFromPathElements)
insert(Object)
though starting insertion of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. The
resulting paths do not start with the "from-path" path, them start
with the given "to-path".aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void insertBetween(Collection<?> aToPathElements, PathMap<T> aFrom, Collection<?> aFromPathElements)
insertBetween(String, Object, String)
.aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void insertBetween(Object aToPath, Object aFrom, Object aFromPath)
insert(Object)
though starting insertion of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. The
resulting paths do not start with the "from-path" path, them start
with the given "to-path".aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPath
- The path from where to start adding elements of the
provided object.default void insertBetween(Object aToPath, PathMap<T> aFrom, Object aFromPath)
insertBetween(String, Object, String)
.aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPath
- The path from where to start adding elements of the
provided object.default void insertBetween(Object[] aToPathElements, Object aFrom, Object[] aFromPathElements)
insert(Object)
though starting insertion of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. The
resulting paths do not start with the "from-path" path, them start
with the given "to-path".aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void insertBetween(Object[] aToPathElements, PathMap<T> aFrom, Object[] aFromPathElements)
insertBetween(String, Object, String)
.aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.void insertBetween(String aToPath, Object aFrom, String aFromPath)
insert(Object)
though starting insertion of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. The
resulting paths do not start with the "from-path" path, them start
with the given "to-path".aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPath
- The path from where to start adding elements of the
provided object.default void insertBetween(String aToPath, PathMap<T> aFrom, String aFromPath)
insertBetween(String, Object, String)
.aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPath
- The path from where to start adding elements of the
provided object.default void insertBetween(String[] aToPathElements, Object aFrom, String[] aFromPathElements)
insert(Object)
though starting insertion of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. The
resulting paths do not start with the "from-path" path, them start
with the given "to-path".aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void insertBetween(String[] aToPathElements, PathMap<T> aFrom, String[] aFromPathElements)
insertBetween(String, Object, String)
.aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void insertFrom(Object aFrom, Collection<?> aFromPathElements)
insert(Object)
though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. The resulting paths do
not start with the provided path.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void insertFrom(Object aFrom, Object aFromPath)
insert(Object)
though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. The resulting paths do
not start with the provided path.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPath
- The path from where to start adding elements of the
provided object.default void insertFrom(Object aFrom, Object... aFromPathElements)
insert(Object)
though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. The resulting paths do
not start with the provided path.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.void insertFrom(Object aFrom, String aFromPath)
insert(Object)
though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. The resulting paths do
not start with the provided path.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPath
- The path from where to start adding elements of the
provided object.default void insertFrom(Object aFrom, String... aFromPathElements)
insert(Object)
though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. The resulting paths do
not start with the provided path.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void insertFrom(PathMap<T> aFrom, Collection<?> aFromPathElements)
insertFrom(Object, String)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void insertFrom(PathMap<T> aFrom, Object aFromPath)
insertFrom(Object, String)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPath
- The path from where to start adding elements of the
provided object.default void insertFrom(PathMap<T> aFrom, Object... aFromPathElements)
insertFrom(Object, String)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void insertFrom(PathMap<T> aFrom, String aFromPath)
insertFrom(Object, String)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPath
- The path from where to start adding elements of the
provided object.default void insertFrom(PathMap<T> aFrom, String... aFromPathElements)
insertFrom(Object, String)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void insertTo(Collection<?> aToPathElements, Object aFrom)
insert(Object)
though starting insertion of object's
introspected values at the given "path".aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void insertTo(Collection<?> aToPathElements, PathMap<T> aFrom)
insertTo(String, Object)
.aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.default void insertTo(Object aToPath, Object aFrom)
insert(Object)
though starting insertion of object's
introspected values at the given "path".aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void insertTo(Object aToPath, PathMap<T> aFrom)
insertTo(String, Object)
.aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.default void insertTo(Object[] aToPathElements, Object aFrom)
insert(Object)
though starting insertion of object's
introspected values at the given "path".aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void insertTo(Object[] aToPathElements, PathMap<T> aFrom)
insertTo(String, Object)
.aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.void insertTo(String aToPath, Object aFrom)
insert(Object)
though starting insertion of object's
introspected values at the given "path".aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void insertTo(String aToPath, PathMap<T> aFrom)
insertTo(String, Object)
.aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.default void insertTo(String[] aToPathElements, Object aFrom)
insert(Object)
though starting insertion of object's
introspected values at the given "path".aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void insertTo(String[] aToPathElements, PathMap<T> aFrom)
insertTo(String, Object)
.aToPathElements
- The path elements of the sub-path where to
insert the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.void merge(Object aFrom)
Map
, Collection
and arrays are identified and
handled as of their type: The path for each value in a Map
is
appended with its according key. The path for each value in a
Collection
or array is appended with its according index of
occurrence (in case of a List
or an array, its actual index).
In case of reflection, the path for each member is appended with its
according mamber's name. All elements (e.g. the members and values)
are inspected recursively which results in the according paths of the
terminating values.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void merge(PathMap<T> aFrom)
merge(Object)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.default void mergeBetween(Collection<?> aToPathElements, Object aFrom, Collection<?> aFromPathElements)
merge(Object)
though starting merging of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. The
resulting paths do not start with the "from-path" path, them start
with the given "to-path".aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void mergeBetween(Collection<?> aToPathElements, PathMap<T> aFrom, Collection<?> aFromPathElements)
mergeBetween(String, Object, String)
.aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void mergeBetween(Object aToPath, Object aFrom, Object aFromPath)
merge(Object)
though starting merging of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. The
resulting paths do not start with the "from-path" path, them start
with the given "to-path".aToPath
- The sub-path where to merge the object's introspected
values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPath
- The path from where to start adding elements of the
provided object.default void mergeBetween(Object aToPath, PathMap<T> aFrom, Object aFromPath)
mergeBetween(String, Object, String)
.aToPath
- The sub-path where to merge the object's introspected
values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPath
- The path from where to start adding elements of the
provided object.default void mergeBetween(Object[] aToPathElements, Object aFrom, Object[] aFromPathElements)
merge(Object)
though starting merging of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. The
resulting paths do not start with the "from-path" path, them start
with the given "to-path".aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void mergeBetween(Object[] aToPathElements, PathMap<T> aFrom, Object[] aFromPathElements)
mergeBetween(String, Object, String)
.aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.void mergeBetween(String aToPath, Object aFrom, String aFromPath)
merge(Object)
though starting merging of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. The
resulting paths do not start with the "from-path" path, them start
with the given "to-path".aToPath
- The sub-path where to merge the object's introspected
values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPath
- The path from where to start adding elements of the
provided object.default void mergeBetween(String aToPath, PathMap<T> aFrom, String aFromPath)
mergeBetween(String, Object, String)
.aToPath
- The sub-path where to merge the object's introspected
values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPath
- The path from where to start adding elements of the
provided object.default void mergeBetween(String[] aToPathElements, Object aFrom, String[] aFromPathElements)
merge(Object)
though starting merging of object's
introspected values at the given "to-path" and starting object
introspection at the given "from-path", e.g. ignoring all paths not
starting with the given path during the introspection process. The
resulting paths do not start with the "from-path" path, them start
with the given "to-path".aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void mergeBetween(String[] aToPathElements, PathMap<T> aFrom, String[] aFromPathElements)
mergeBetween(String, Object, String)
.aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void mergeFrom(Object aFrom, Collection<?> aFromPathElements)
merge(Object)
though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. The resulting paths do
not start with the provided path.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void mergeFrom(Object aFrom, Object aFromPath)
merge(Object)
though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. The resulting paths do
not start with the provided path.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPath
- The path from where to start adding elements of the
provided object.default void mergeFrom(Object aFrom, Object... aFromPathElements)
merge(Object)
though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. The resulting paths do
not start with the provided path.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.void mergeFrom(Object aFrom, String aFromPath)
merge(Object)
though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. The resulting paths do
not start with the provided path.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPath
- The path from where to start adding elements of the
provided object.default void mergeFrom(Object aFrom, String... aFromPathElements)
merge(Object)
though starting object introspection
at the given "path", e.g. ignoring all paths not starting with the
given path during the introspection process. The resulting paths do
not start with the provided path.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void mergeFrom(PathMap<T> aFrom, Collection<?> aFromPathElements)
mergeFrom(Object, String)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void mergeFrom(PathMap<T> aFrom, Object aFromPath)
mergeFrom(Object, String)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPath
- The path from where to start adding elements of the
provided object.default void mergeFrom(PathMap<T> aFrom, Object... aFromPathElements)
mergeFrom(Object, String)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void mergeFrom(PathMap<T> aFrom, String aFromPath)
mergeFrom(Object, String)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPath
- The path from where to start adding elements of the
provided object.default void mergeFrom(PathMap<T> aFrom, String... aFromPathElements)
mergeFrom(Object, String)
.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.aFromPathElements
- The path elements of the path from where to
start adding elements of the provided object.default void mergeTo(Collection<?> aToPathElements, Object aFrom)
merge(Object)
though starting merging of object's
introspected values at the given "path".aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void mergeTo(Collection<?> aToPathElements, PathMap<T> aFrom)
mergeTo(String, Object)
.aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.default void mergeTo(Object aToPath, Object aFrom)
merge(Object)
though starting merging of object's
introspected values at the given "path".aToPath
- The sub-path where to merge the object's introspected
values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void mergeTo(Object aToPath, PathMap<T> aFrom)
mergeTo(String, Object)
.aToPath
- The sub-path where to merge the object's introspected
values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.default void mergeTo(Object[] aToPathElements, Object aFrom)
merge(Object)
though starting merging of object's
introspected values at the given "path".aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void mergeTo(Object[] aToPathElements, PathMap<T> aFrom)
mergeTo(String, Object)
.aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.void mergeTo(String aToPath, Object aFrom)
merge(Object)
though starting merging of object's
introspected values at the given "path".aToPath
- The sub-path where to merge the object's introspected
values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void mergeTo(String aToPath, PathMap<T> aFrom)
mergeTo(String, Object)
.aToPath
- The sub-path where to merge the object's introspected
values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.default void mergeTo(String[] aToPathElements, Object aFrom)
merge(Object)
though starting merging of object's
introspected values at the given "path".aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The object which is to be inspected with the therein
contained values being added with their according determined
paths.default void mergeTo(String[] aToPathElements, PathMap<T> aFrom)
mergeTo(String, Object)
.aToPathElements
- The path elements of the sub-path where to
merge the object's introspected values to.aFrom
- The PathMap
which is to be inspected with the
therein contained values being added with their according
determined paths.default T put(Collection<?> aPathElements, T aValue)
aPathElements
- The path elements of the path relative to which
to put the value.aValue
- The value to be added.default T put(Object[] aPathElements, T aValue)
aPathElements
- The path elements of the path relative to which
to put the value.aValue
- The value to be added.default T put(Relation<String,T> aRelation)
put
in interface Dictionary.MutableDictionary<String,T>
aRelation
- the relationdefault T put(String[] aPathElements, T aValue)
aPathElements
- The path elements of the path relative to which
to put the value.aValue
- The value to be added.default T[] putArray(Collection<?> aPathElements, Collection<T> aValues)
PathMap
are reckoned to be part
of an array when they belong to the same hierarchy level and when
their keys represent integer numbers. Given the below example, the
elements below "/animals/dogs" can be represented as an array with
five elements (the path is denoted at the left hand side of the
assignment ":=" operator and the value at the right and side
accordingly):
PathMap.getArray(String)
for the
path "/animals/dogs" would contain {"ace", "bandit", "radar", "echo",
"snoopy"}. Calling isArray("/animals/dogs")
would return
true
whereas calling isArray("/animals")
would return false.aPathElements
- The elements of the path below where to put the
array.aValues
- The values to be put.default T[] putArray(Collection<?> aPathElements, T[] aValues)
PathMap
are reckoned to be part
of an array when they belong to the same hierarchy level and when
their keys represent integer numbers. Given the below example, the
elements below "/animals/dogs" can be represented as an array with
five elements (the path is denoted at the left hand side of the
assignment ":=" operator and the value at the right and side
accordingly):
PathMap.getArray(String)
for the
path "/animals/dogs" would contain {"ace", "bandit", "radar", "echo",
"snoopy"}. Calling isArray("/animals/dogs")
would return
true
whereas calling isArray("/animals")
would return false.aPathElements
- The elements of the path below where to put the
array.aValues
- The values to be put.default T[] putArray(Collection<T> aValues)
putArray(Object[])
method for the root path "/".aValues
- The values to be put.default T[] putArray(Object aPath, Collection<T> aValues)
PathMap
are reckoned to be part
of an array when they belong to the same hierarchy level and when
their keys represent integer numbers. Given the below example, the
elements below "/animals/dogs" can be represented as an array with
five elements (the path is denoted at the left hand side of the
assignment ":=" operator and the value at the right and side
accordingly):
PathMap.getArray(String)
for the
path "/animals/dogs" would contain {"ace", "bandit", "radar", "echo",
"snoopy"}. Calling isArray("/animals/dogs")
would return
true
whereas calling isArray("/animals")
would return false.aPath
- The path below where to put the array.aValues
- The values to be put.default T[] putArray(Object aPath, T[] aValues)
PathMap
are reckoned to be part
of an array when they belong to the same hierarchy level and when
their keys represent integer numbers. Given the below example, the
elements below "/animals/dogs" can be represented as an array with
five elements (the path is denoted at the left hand side of the
assignment ":=" operator and the value at the right and side
accordingly):
PathMap.getArray(String)
for the
path "/animals/dogs" would contain {"ace", "bandit", "radar", "echo",
"snoopy"}. Calling isArray("/animals/dogs")
would return
true
whereas calling isArray("/animals")
would return false.aPath
- The path below where to put the array.aValues
- The values to be put.default T[] putArray(Object[] aPathElements, Collection<T> aValues)
PathMap
are reckoned to be part
of an array when they belong to the same hierarchy level and when
their keys represent integer numbers. Given the below example, the
elements below "/animals/dogs" can be represented as an array with
five elements (the path is denoted at the left hand side of the
assignment ":=" operator and the value at the right and side
accordingly):
PathMap.getArray(String)
for the
path "/animals/dogs" would contain {"ace", "bandit", "radar", "echo",
"snoopy"}. Calling isArray("/animals/dogs")
would return
true
whereas calling isArray("/animals")
would return false.aPathElements
- The elements of the path below where to put the
array.aValues
- The values to be put.default T[] putArray(Object[] aPathElements, T[] aValues)
PathMap
are reckoned to be part
of an array when they belong to the same hierarchy level and when
their keys represent integer numbers. Given the below example, the
elements below "/animals/dogs" can be represented as an array with
five elements (the path is denoted at the left hand side of the
assignment ":=" operator and the value at the right and side
accordingly):
PathMap.getArray(String)
for the
path "/animals/dogs" would contain {"ace", "bandit", "radar", "echo",
"snoopy"}. Calling isArray("/animals/dogs")
would return
true
whereas calling isArray("/animals")
would return false.aPathElements
- The elements of the path below where to put the
array.aValues
- The values to be put.default T[] putArray(String aPath, Collection<T> aValues)
PathMap
are reckoned to be part
of an array when they belong to the same hierarchy level and when
their keys represent integer numbers. Given the below example, the
elements below "/animals/dogs" can be represented as an array with
five elements (the path is denoted at the left hand side of the
assignment ":=" operator and the value at the right and side
accordingly):
PathMap.getArray(String)
for the
path "/animals/dogs" would contain {"ace", "bandit", "radar", "echo",
"snoopy"}. Calling isArray("/animals/dogs")
would return
true
whereas calling isArray("/animals")
would return false.aPath
- The path below where to put the array.aValues
- The values to be put.default T[] putArray(String aPath, T[] aValues)
PathMap
are reckoned to be part
of an array when they belong to the same hierarchy level and when
their keys represent integer numbers. Given the below example, the
elements below "/animals/dogs" can be represented as an array with
five elements (the path is denoted at the left hand side of the
assignment ":=" operator and the value at the right and side
accordingly):
PathMap.getArray(String)
for the
path "/animals/dogs" would contain {"ace", "bandit", "radar", "echo",
"snoopy"}. Calling isArray("/animals/dogs")
would return
true
whereas calling isArray("/animals")
would return false.aPath
- The path below where to put the array.aValues
- The values to be put.default T[] putArray(String[] aPathElements, Collection<T> aValues)
PathMap
are reckoned to be part
of an array when they belong to the same hierarchy level and when
their keys represent integer numbers. Given the below example, the
elements below "/animals/dogs" can be represented as an array with
five elements (the path is denoted at the left hand side of the
assignment ":=" operator and the value at the right and side
accordingly):
PathMap.getArray(String)
for the
path "/animals/dogs" would contain {"ace", "bandit", "radar", "echo",
"snoopy"}. Calling isArray("/animals/dogs")
would return
true
whereas calling isArray("/animals")
would return false.aPathElements
- The elements of the path below where to put the
array.aValues
- The values to be put.default T[] putArray(String[] aPathElements, T[] aValues)
PathMap
are reckoned to be part
of an array when they belong to the same hierarchy level and when
their keys represent integer numbers. Given the below example, the
elements below "/animals/dogs" can be represented as an array with
five elements (the path is denoted at the left hand side of the
assignment ":=" operator and the value at the right and side
accordingly):
PathMap.getArray(String)
for the
path "/animals/dogs" would contain {"ace", "bandit", "radar", "echo",
"snoopy"}. Calling isArray("/animals/dogs")
would return
true
whereas calling isArray("/animals")
would return false.aPathElements
- The elements of the path below where to put the
array.aValues
- The values to be put.default T[] putArray(T[] aValues)
putArray(Object[])
method for the root path "/".aValues
- The values to be put.default PathMap<T> putDirAt(Collection<?> aPathElements, int aIndex, Object aDir) throws IllegalArgumentException
aPathElements
- The path elements of the path where to put the
indexed element.aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(Collection<?> aPathElements, int aIndex, PathMap<T> aDir) throws IllegalArgumentException
aPathElements
- The path elements of the path where to put the
indexed element.aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(int aIndex, Object aDir) throws IllegalArgumentException
aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(int aIndex, PathMap<T> aDir) throws IllegalArgumentException
aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(Object aPath, int aIndex, Object aDir) throws IllegalArgumentException
aPath
- The path where to put the indexed element.aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(Object aPath, int aIndex, PathMap<T> aDir) throws IllegalArgumentException
aPath
- The path where to put the indexed element.aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(Object[] aPathElements, int aIndex, Object aDir) throws IllegalArgumentException
aPathElements
- The path elements of the path where to put the
indexed element.aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(Object[] aPathElements, int aIndex, PathMap<T> aDir) throws IllegalArgumentException
aPathElements
- The path elements of the path where to put the
indexed element.aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(String aPath, int aIndex, Object aDir) throws IllegalArgumentException
aPath
- The path where to put the indexed element.aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(String aPath, int aIndex, PathMap<T> aDir) throws IllegalArgumentException
aPath
- The path where to put the indexed element.aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(String[] aPathElements, int aIndex, Object aDir) throws IllegalArgumentException
aPathElements
- The path elements of the path where to put the
indexed element.aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default PathMap<T> putDirAt(String[] aPathElements, int aIndex, PathMap<T> aDir) throws IllegalArgumentException
aPathElements
- The path elements of the path where to put the
indexed element.aIndex
- The index of the indexed element.aDir
- The values to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isIndexDir(String)
.default T putValueAt(Collection<?> aPathElements, int aIndex, T aValue) throws IllegalArgumentException
putArray(String, Object[])
.aPathElements
- The path elements of the path where to put the
indexed element.aIndex
- The index of the indexed element.aValue
- The value to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default T putValueAt(int aIndex, T aValue) throws IllegalArgumentException
putArray(String, Object[])
.aIndex
- The index of the indexed element.aValue
- The value to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default T putValueAt(Object aPath, int aIndex, T aValue) throws IllegalArgumentException
putArray(String, Object[])
.aPath
- The path where to put the indexed element.aIndex
- The index of the indexed element.aValue
- The value to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default T putValueAt(Object[] aPathElements, int aIndex, T aValue) throws IllegalArgumentException
putArray(String, Object[])
.aPathElements
- The path elements of the path where to put the
indexed element.aIndex
- The index of the indexed element.aValue
- The value to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default T putValueAt(String aPath, int aIndex, T aValue) throws IllegalArgumentException
putArray(String, Object[])
.aPath
- The path where to put the indexed element.aIndex
- The index of the indexed element.aValue
- The value to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default T putValueAt(String[] aPathElements, int aIndex, T aValue) throws IllegalArgumentException
putArray(String, Object[])
.aPathElements
- The path elements of the path where to put the
indexed element.aIndex
- The index of the indexed element.aValue
- The value to be put at the index.IllegalArgumentException
- in case the path does not represent
indexed elements as of PathMap.isArray(String)
.default T remove(Object... aPathElements)
Map.remove(Object)
for the provided
path elements (as of PathMap.toPath(Object...)
). BEWARE: The method
with two arguments as of Map.remove(Object, Object)
behaves
special as of its inheritance from
Map.remove(Object, Object)
.aPathElements
- The elements of the path from where to remove
the property.default T remove(String... aPathElements)
Map.remove(Object)
for the provided
path elements (as of PathMap.toPath(String...)
).aPathElements
- The elements of the path from where to remove
the property.default T remove(String aPathElement1, String aPathElement2)
Map.remove(Object)
for the provided
path elements (as of PathMap.toPath(String...)
). This method
overloads the method Map.remove(Object, Object)
in order to
prevent unexpected behavior of the remove(String...)
method!aPathElement1
- The first path element of the path from where to
remove the property.aPathElement2
- The second path element of the path from where
to remove the property.default PathMap<T> removeAll(Collection<?> aPathQueryElements)
PathMatcher
'
matching patterns, similar to the wildcards '*', '?' and '**' known
when querying folders of a filesystem: The PathMatcher
applies the following rules from the ANT path pattern to the query
provided: A single asterisk ("*" as of Wildcard.FILE
) matches
zero or more characters within a path name. A double asterisk ("**"
as of Wildcard.PATH
) matches zero or more characters across
directory levels. A question mark ("?" as of Wildcard.CHAR
)
matches exactly one character within a path name. The single asterisk
("*" as of Wildcard.FILE
), the double asterisk ("**" as of
Wildcard.PATH
) and the question mark ("?" as of
Wildcard.CHAR
) we refer to as wildcards.aPathQueryElements
- The elements representing your path query
including your wildcards.default PathMap<T> removeAll(Object... aPathQueryElements)
PathMatcher
'
matching patterns, similar to the wildcards '*', '?' and '**' known
when querying folders of a filesystem: The PathMatcher
applies the following rules from the ANT path pattern to the query
provided: A single asterisk ("*" as of Wildcard.FILE
) matches
zero or more characters within a path name. A double asterisk ("**"
as of Wildcard.PATH
) matches zero or more characters across
directory levels. A question mark ("?" as of Wildcard.CHAR
)
matches exactly one character within a path name. The single asterisk
("*" as of Wildcard.FILE
), the double asterisk ("**" as of
Wildcard.PATH
) and the question mark ("?" as of
Wildcard.CHAR
) we refer to as wildcards.aPathQueryElements
- The elements representing your path query
including your wildcards.default PathMap<T> removeAll(Object aPathQuery)
PathMatcher
'
matching patterns, similar to the wildcards '*', '?' and '**' known
when querying folders of a filesystem: The PathMatcher
applies the following rules from the ANT path pattern to the query
provided: A single asterisk ("*" as of Wildcard.FILE
) matches
zero or more characters within a path name. A double asterisk ("**"
as of Wildcard.PATH
) matches zero or more characters across
directory levels. A question mark ("?" as of Wildcard.CHAR
)
matches exactly one character within a path name. The single asterisk
("*" as of Wildcard.FILE
), the double asterisk ("**" as of
Wildcard.PATH
) and the question mark ("?" as of
Wildcard.CHAR
) we refer to as wildcards.aPathQuery
- The path query including your wildcards.default PathMap<T> removeAll(Pattern aRegExp)
Pattern
aRegExp
- The regular expression to be used for the query.default PathMap<T> removeAll(String... aPathQueryElements)
PathMatcher
'
matching patterns, similar to the wildcards '*', '?' and '**' known
when querying folders of a filesystem: The PathMatcher
applies the following rules from the ANT path pattern to the query
provided: A single asterisk ("*" as of Wildcard.FILE
) matches
zero or more characters within a path name. A double asterisk ("**"
as of Wildcard.PATH
) matches zero or more characters across
directory levels. A question mark ("?" as of Wildcard.CHAR
)
matches exactly one character within a path name. The single asterisk
("*" as of Wildcard.FILE
), the double asterisk ("**" as of
Wildcard.PATH
) and the question mark ("?" as of
Wildcard.CHAR
) we refer to as wildcards.aPathQueryElements
- The elements representing your path query
including your wildcards.default PathMap<T> removeAll(String aPathQuery)
PathMatcher
'
matching patterns, similar to the wildcards '*', '?' and '**' known
when querying folders of a filesystem: The PathMatcher
applies the following rules from the ANT path pattern to the query
provided: A single asterisk ("*" as of Wildcard.FILE
) matches
zero or more characters within a path name. A double asterisk ("**"
as of Wildcard.PATH
) matches zero or more characters across
directory levels. A question mark ("?" as of Wildcard.CHAR
)
matches exactly one character within a path name. The single asterisk
("*" as of Wildcard.FILE
), the double asterisk ("**" as of
Wildcard.PATH
) and the question mark ("?" as of
Wildcard.CHAR
) we refer to as wildcards.aPathQuery
- The path query including your wildcards.default PathMap<T> removeDirAt(int aIndex)
/0/0aaa
/0/0bbb
/0/0bbb
/1/1aaa
/1/1bbb
/1/1bbb
You will get a result containing all the elements which's
keys begin with "/1/". The keys of the result will exclude the path
"prefix" "/1".aIndex
- The index which to use.default PathMap<T> removeDirAt(Object aPath, int aIndex)
/root/child/0/0aaa
/root/child/0/0bbb
/root/child/0/0bbb
/root/child/1/1aaa
/root/child/1/1bbb
/root/child/1/1bbb
You will get a result containing all the elements which's
keys begin with "/root/child/1/". The keys of the result will exclude
the path "prefix" "/root/child/1".aIndex
- The index which to use.aPath
- The path from which to remove the indexed elements.default PathMap<T> removeDirAt(Object[] aPathElements, int aIndex)
/root/child/0/0aaa
/root/child/0/0bbb
/root/child/0/0bbb
/root/child/1/1aaa
/root/child/1/1bbb
/root/child/1/1bbb
You will get a result containing all the elements which's
keys begin with "/root/child/1/".The keys of the result will exclude
the path "prefix" "/root/child/1".aIndex
- The index which to use.aPathElements
- The elements of the path from which to remove
the indexed elements.default PathMap<T> removeDirAt(String aPath, int aIndex)
/root/child/0/0aaa
/root/child/0/0bbb
/root/child/0/0bbb
/root/child/1/1aaa
/root/child/1/1bbb
/root/child/1/1bbb
You will get a result containing all the elements which's
keys begin with "/root/child/1/".The keys of the result will exclude
the path "prefix" "/root/child/1".aIndex
- The index which to use.aPath
- The path from which to remove the indexed elements.default PathMap<T> removeDirAt(String[] aPathElements, int aIndex)
/root/child/0/0aaa
/root/child/0/0bbb
/root/child/0/0bbb
/root/child/1/1aaa
/root/child/1/1bbb
/root/child/1/1bbb
You will get a result containing all the elements which's
keys begin with "/root/child/1/".The keys of the result will exclude
the path "prefix" "/root/child/1".aIndex
- The index which to use.aPathElements
- The elements of the path from which to remove
the indexed elements.default PathMap<T> removeFrom(Collection<?> aPathElements)
PathMap
with the removed elements, by which the paths exclude
the parent's path.aPathElements
- The path elements for the path from where to
remove all properties.default PathMap<T> removeFrom(Object... aPathElements)
PathMap
with the removed elements, by which the paths exclude
the parent's path.aPathElements
- The path elements for the path from where to
remove all properties.default PathMap<T> removeFrom(Object aPath)
PathMap
with the removed elements, by which the paths exclude
the parent's path.aPath
- The path from where to remove all properties.default PathMap<T> removeFrom(String aPath)
PathMap
with the removed elements, by which the paths exclude
the parent's path.aPath
- The path from where to remove all properties.default PathMap<T> removeFrom(String... aPathElements)
PathMap
with the removed elements, by which the paths exclude
the parent's path.aPathElements
- The path elements for the path from where to
remove all properties.default PathMap<T> removePaths(Collection<?> aPaths)
aPaths
- The paths to be removed.default PathMap<T> removePaths(String... aPaths)
aPaths
- The paths to be removed.default T removeValueAt(int aIndex)
aIndex
- The index inside the array for which to remove the
value.default T removeValueAt(Object aPath, int aIndex)
aPath
- The path pointing to the array.aIndex
- The index inside the array for which to remove the
value.default T removeValueAt(Object[] aPathElements, int aIndex)
aPathElements
- The path elements for the path pointing to the
array.aIndex
- The index inside the array for which to remove the
value.default T removeValueAt(String aPath, int aIndex)
aPath
- The path pointing to the array.aIndex
- The index inside the array for which to remove the
value.default T removeValueAt(String[] aPathElements, int aIndex)
aPathElements
- The path elements for the path pointing to the
array.aIndex
- The index inside the array for which to remove the
value.default String toSourceCode()
String
text to be copy'n'pasted) with getters and setters for
the herein contained paths and their values.default String toSourceCode(String aClassName, String aPackage)
String
text to be copy'n'pasted) with getters and setters for
the herein contained paths and their values.aClassName
- The class name for the class to be generated.aPackage
- The package to which the class is to belong.Copyright © 2021. All rights reserved.