public static interface PlaceholderMap.Key
Path
s, it is used to identify
entries in a PlaceholderMap
.Modifier and Type | Method and Description |
---|---|
boolean |
contains(Path placeholder)
Tells whether this key knows
placeholder . |
java.lang.String |
getAnchor()
Gets the anchor.
|
Path[] |
getPlaceholders()
Gets the placeholders which make up this key.
|
boolean |
isShared()
Tells whether this key is shared.
|
Path[] getPlaceholders()
null
boolean contains(Path placeholder)
placeholder
.placeholder
- the placeholder to searchplaceholder
was foundjava.lang.String getAnchor()
placeholders
are no longer valid. No two keys may have the
same anchor.null
boolean isShared()
placeholders
, two non-shared
keys are equal only if they are the same object, a shared and a non-shared key
are never equal.