org.refcodes.mixin.AnnotatorAccessor
, CanonicalMap
, org.refcodes.mixin.Clearable
, Containable
, org.refcodes.mixin.DelimiterAccessor
, Dictionary<String,T>
, Dictionary.MutableDictionary<String,T>
, org.refcodes.mixin.Dumpable
, InterOperableMap<String>
, InterOperableMap.MutableInterOperableMap<String>
, Keys<String,T>
, Keys.MutableKeys<String,T>
, Keys.MutableValues<String,T>
, Map<String,T>
, PathMap<String>
, PathMap.MutablePathMap<String>
, org.refcodes.mixin.TypeAccessor<String>
CanonicalMap.CanonicalMapBuilder
CanonicalMapBuilderImpl
public static interface CanonicalMap.MutableCanonicalMap extends CanonicalMap, InterOperableMap.MutableInterOperableMap<String>, Map<String,String>
org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B extends org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B>>, org.refcodes.mixin.AnnotatorAccessor.AnnotatorMutator, org.refcodes.mixin.AnnotatorAccessor.AnnotatorProperty
CanonicalMap.CanonicalMapBuilder, CanonicalMap.MutableCanonicalMap
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>>
InterOperableMap.InterOperableMapBuilder<T>, InterOperableMap.MutableInterOperableMap<T>
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 boolean |
containsValue(Object value) |
This method is defined for the sake of
Map conformity. |
default void |
insert(CanonicalMap aFrom) |
Method to semantically emphasize that we support our own types.
|
default void |
insertBetween(String aToPath,
CanonicalMap aFrom,
String aFromPath) |
Method to semantically emphasize that we support our own types.
|
default void |
insertFrom(CanonicalMap aFrom,
String aFromPath) |
Method to semantically emphasize that we support our own types.
|
default void |
insertTo(String aToPath,
CanonicalMap aFrom) |
Method to semantically emphasize that we support our own types.
|
default String |
put(Object[] aPathElements,
String aValue) |
Puts the given value into the child's path, relative to the given
parent's path.
|
default String |
put(Object aKey,
String aValue) |
Adds the given element related to the given key.
|
default String |
put(String[] aPathElements,
String aValue) |
Puts the given value into the child's path, relative to the given
parent's path.
|
default String |
put(Property aProperty) |
Puts the key/value-pair from the provided
Property . |
default String |
put(Relation<String,String> aRelation) |
Adds the given element related to the given key.
|
default void |
putAll(Map<? extends String,? extends String> aProperties) |
|
default void |
putAll(Properties aProperties) |
This method inserts all elements (key/value-pairs) found in the
provided
Properties instances of interoperability
reasons. |
default void |
putAll(CanonicalMap aProperties) |
This method inserts all elements (key/value-pairs) found in the
provided
CanonicalMap instances of interoperability reasons. |
default CanonicalMap |
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 CanonicalMap |
putDirAt(int aIndex,
PathMap<String> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
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 CanonicalMap |
putDirAt(Object[] aPathElements,
int aIndex,
PathMap<String> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
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 CanonicalMap |
putDirAt(Object aPath,
int aIndex,
PathMap<String> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
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 CanonicalMap |
putDirAt(String[] aPathElements,
int aIndex,
PathMap<String> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
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 CanonicalMap |
putDirAt(String aPath,
int aIndex,
PathMap<String> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
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 CanonicalMap |
putDirAt(Collection<?> aPathElements,
int aIndex,
PathMap<String> aDir) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
removeAll(Object aPathQuery) |
Removes all elements which's keys match the provided path query.
|
default CanonicalMap |
removeAll(Object... aPathQueryElements) |
Removes all elements which's keys match the provided path query.
|
default CanonicalMap |
removeAll(String aPathQuery) |
Removes all elements which's keys match the provided path query.
|
default CanonicalMap |
removeAll(String... aPathQueryElements) |
Removes all elements which's keys match the provided path query.
|
default CanonicalMap |
removeAll(Collection<?> aPathQueryElements) |
Removes all elements which's keys match the provided path query.
|
default CanonicalMap |
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 CanonicalMap |
removeDirAt(int aIndex) |
An indexed directory represents all elements which begin with a path
which's last path element represents an index.
|
default CanonicalMap |
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 CanonicalMap |
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 CanonicalMap |
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 CanonicalMap |
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 CanonicalMap |
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 CanonicalMap |
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 CanonicalMap |
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 CanonicalMap |
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 CanonicalMap |
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 CanonicalMap |
removePaths(String... aPaths) |
Removes the paths contained in the provided collection.
|
default CanonicalMap |
removePaths(Collection<?> aPaths) |
Removes the paths contained in the provided collection.
|
default Map<String,String> |
toDump(Map<String,String> aDump) |
asArray, asArray, asArray, asArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asByteArray, asByteArray, asByteArray, asByteArray, asCharArray, asCharArray, asCharArray, asCharArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asIntArray, asIntArray, asIntArray, asIntArray, asLongArray, asLongArray, asLongArray, asLongArray, asShortArray, asShortArray, asShortArray, asShortArray, getDir, getDir, getDir, getDir, getDir, getDirAt, getDirAt, getDirAt, getDirAt, getDirAt, getDirAt, query, query, query, query, query, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryTo, queryTo, queryTo, queryTo, queryTo, queryTo, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveTo, retrieveTo, retrieveTo, retrieveTo, retrieveTo, toMap, toProperties
isEmpty, size
getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBooleanOr, getBooleanOr, getBooleanOr, getBooleanOr, getBooleanOr, getByte, getByte, getByte, getByte, getByte, getByteOr, getByteOr, getByteOr, getByteOr, getByteOr, getChar, getChar, getChar, getChar, getChar, getCharOr, getCharOr, getCharOr, getCharOr, getCharOr, getClass, getClass, getClass, getClass, getClass, getClassOr, getClassOr, getClassOr, getClassOr, getClassOr, getDouble, getDouble, getDouble, getDouble, getDouble, getDoubleOr, getDoubleOr, getDoubleOr, getDoubleOr, getDoubleOr, getEnum, getEnum, getEnum, getEnum, getEnum, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getFloat, getFloat, getFloat, getFloat, getFloat, getFloatOr, getFloatOr, getFloatOr, getFloatOr, getFloatOr, getInt, getInt, getInt, getInt, getInt, getIntOr, getIntOr, getIntOr, getIntOr, getIntOr, getLong, getLong, getLong, getLong, getLong, getLongOr, getLongOr, getLongOr, getLongOr, getLongOr, getShort, getShort, getShort, getShort, getShort, getShortOr, getShortOr, getShortOr, getShortOr, getShortOr, getString, getString, getString, getString, getString, getStringOr, getStringOr, getStringOr, getStringOr, getStringOr
insert, insertBetween, insertFrom, insertTo, putBoolean, putBoolean, putBoolean, putBoolean, putBoolean, putByte, putByte, putByte, putByte, putByte, putChar, putChar, putChar, putChar, putChar, putClass, putClass, putClass, putClass, putClass, putDouble, putDouble, putDouble, putDouble, putDouble, putEnum, putEnum, putEnum, putEnum, putEnum, putFloat, putFloat, putFloat, putFloat, putFloat, putInt, putInt, putInt, putInt, putInt, putLong, putLong, putLong, putLong, putLong, putShort, putShort, putShort, putShort, putShort, putString, putString, putString, putString, putString
containsKey, get, getOr, keySet, use, values
put
clear, compute, computeIfAbsent, computeIfPresent, containsKey, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, 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, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getRootPath, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, hasChildren, hasChildren, hasChildren, hasChildren, hasChildren, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasParentPath, hasPath, hasPath, hasPath, hasPath, hasSubDirs, hasSubDirs, hasSubDirs, hasSubDirs, hasValue, hasValue, hasValue, hasValue, hasValue, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, isArray, isArray, isArray, isArray, isArray, isArray, isChild, isChild, isChild, isChild, isDir, isDir, isDir, isDir, isDir, isEqualTo, isIndexDir, isIndexDir, isIndexDir, isIndexDir, isIndexDir, isLeaf, isLeaf, isLeaf, isLeaf, isLeaf, isRootPath, keySet, keySet, keySet, keySet, keySet, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, leaves, leaves, leaves, leaves, leaves, leaves, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, paths, paths, paths, paths, paths, paths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, toDataStructure, toDataStructure, toExternalPath, toInstance, toInstance, toLeaf, toMap, toNormalizedPath, toParentPath, toPath, toPath, toPath, toPathElements, toPathList, toPathStack, toPropertyPath, toType, toType
add, add, add, add, add, add, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, delete, delete, delete, delete, delete, insert, insert, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, merge, merge, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, put, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putValueAt, putValueAt, putValueAt, putValueAt, putValueAt, putValueAt, remove, remove, remove, removeValueAt, removeValueAt, removeValueAt, removeValueAt, removeValueAt, toSourceCode, toSourceCode
default boolean containsValue(Object value)
Map
conformity. Tests
whether the provided value has a key assigned.containsValue
in interface CanonicalMap
containsValue
in interface InterOperableMap.MutableInterOperableMap<String>
containsValue
in interface Keys<String,T>
containsValue
in interface Map<String,T>
value
- The value to test if a key references this value.default void insert(CanonicalMap aFrom)
PathMap.MutablePathMap.insert(Object)
.aFrom
- The CanonicalMap
which is to be inspected with
the therein contained values being added with their according
determined paths.default void insertBetween(String aToPath, CanonicalMap aFrom, String aFromPath)
PathMap.MutablePathMap.insertBetween(String, Object, String)
.aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The CanonicalMap
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(CanonicalMap aFrom, String aFromPath)
PathMap.MutablePathMap.insertFrom(Object, String)
.aFrom
- The CanonicalMap
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 insertTo(String aToPath, CanonicalMap aFrom)
PathMap.MutablePathMap.insertTo(String, Object)
.aToPath
- The sub-path where to insert the object's introspected
values to.aFrom
- The CanonicalMap
which is to be inspected with
the therein contained values being added with their according
determined paths.default String put(Object aKey, String aValue)
Enum.toString()
method is used on the
enumeration to resolve the enumeration to a {link String} key.aKey
- The key for which to add the element.aValue
- The value to be related with the given key.default String put(Object[] aPathElements, String aValue)
put
in interface PathMap.MutablePathMap<String>
aPathElements
- The path elements of the path relative to which
to put the value.aValue
- The value to be added.default String put(Property aProperty)
Property
.aProperty
- The property's key/value to be inserted.default String put(Relation<String,String> aRelation)
put
in interface Dictionary.MutableDictionary<String,T>
put
in interface PathMap.MutablePathMap<String>
aRelation
- the relationdefault String put(String[] aPathElements, String aValue)
put
in interface PathMap.MutablePathMap<String>
aPathElements
- The path elements of the path relative to which
to put the value.aValue
- The value to be added.default void putAll(CanonicalMap aProperties)
CanonicalMap
instances of interoperability reasons.aProperties
- A CanonicalMap
containing the key/value
pairs to be inserted.default void putAll(Properties aProperties)
Properties
instances of interoperability
reasons.aProperties
- A Properties
containing the
key/value-pairs to be inserted.default CanonicalMap putDirAt(Collection<?> aPathElements, int aIndex, Object aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(Collection<?> aPathElements, int aIndex, PathMap<String> aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(int aIndex, Object aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(int aIndex, PathMap<String> aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(Object aPath, int aIndex, Object aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(Object aPath, int aIndex, PathMap<String> aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(Object[] aPathElements, int aIndex, Object aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(Object[] aPathElements, int aIndex, PathMap<String> aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(String aPath, int aIndex, Object aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(String aPath, int aIndex, PathMap<String> aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(String[] aPathElements, int aIndex, Object aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap putDirAt(String[] aPathElements, int aIndex, PathMap<String> aDir) throws IllegalArgumentException
putDirAt
in interface PathMap.MutablePathMap<String>
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 CanonicalMap 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.removeAll
in interface PathMap.MutablePathMap<String>
aPathQueryElements
- The elements representing your path query
including your wildcards.default CanonicalMap 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.removeAll
in interface PathMap.MutablePathMap<String>
aPathQueryElements
- The elements representing your path query
including your wildcards.default CanonicalMap 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.removeAll
in interface PathMap.MutablePathMap<String>
aPathQuery
- The path query including your wildcards.default CanonicalMap removeAll(Pattern aRegExp)
Pattern
removeAll
in interface PathMap.MutablePathMap<String>
aRegExp
- The regular expression to be used for the query.default CanonicalMap 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.removeAll
in interface PathMap.MutablePathMap<String>
aPathQueryElements
- The elements representing your path query
including your wildcards.default CanonicalMap 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.removeAll
in interface PathMap.MutablePathMap<String>
aPathQuery
- The path query including your wildcards.default CanonicalMap 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".removeDirAt
in interface PathMap.MutablePathMap<String>
aIndex
- The index which to use.default CanonicalMap 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".removeDirAt
in interface PathMap.MutablePathMap<String>
aPath
- The path from which to remove the indexed elements.aIndex
- The index which to use.default CanonicalMap 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".removeDirAt
in interface PathMap.MutablePathMap<String>
aPathElements
- The elements of the path from which to remove
the indexed elements.aIndex
- The index which to use.default CanonicalMap 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".removeDirAt
in interface PathMap.MutablePathMap<String>
aPath
- The path from which to remove the indexed elements.aIndex
- The index which to use.default CanonicalMap 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".removeDirAt
in interface PathMap.MutablePathMap<String>
aPathElements
- The elements of the path from which to remove
the indexed elements.aIndex
- The index which to use.default CanonicalMap removeFrom(Collection<?> aPathElements)
PathMap
with the removed elements, by which the paths exclude
the parent's path.removeFrom
in interface PathMap.MutablePathMap<String>
aPathElements
- The path elements for the path from where to
remove all properties.default CanonicalMap removeFrom(Object... aPathElements)
PathMap
with the removed elements, by which the paths exclude
the parent's path.removeFrom
in interface PathMap.MutablePathMap<String>
aPathElements
- The path elements for the path from where to
remove all properties.default CanonicalMap removeFrom(Object aPath)
PathMap
with the removed elements, by which the paths exclude
the parent's path.removeFrom
in interface PathMap.MutablePathMap<String>
aPath
- The path from where to remove all properties.default CanonicalMap removeFrom(String aPath)
PathMap
with the removed elements, by which the paths exclude
the parent's path.removeFrom
in interface PathMap.MutablePathMap<String>
aPath
- The path from where to remove all properties.default CanonicalMap removeFrom(String... aPathElements)
PathMap
with the removed elements, by which the paths exclude
the parent's path.removeFrom
in interface PathMap.MutablePathMap<String>
aPathElements
- The path elements for the path from where to
remove all properties.default CanonicalMap removePaths(Collection<?> aPaths)
removePaths
in interface PathMap.MutablePathMap<String>
aPaths
- The paths to be removed.default CanonicalMap removePaths(String... aPaths)
removePaths
in interface PathMap.MutablePathMap<String>
aPaths
- The paths to be removed.Copyright © 2021. All rights reserved.