public static interface EffectiveNodeTypeCache.Key extends Comparable<EffectiveNodeTypeCache.Key>
ENTKey
uniquely identifies
a combination (i.e. an aggregation) of one or more node types.Modifier and Type | Method and Description |
---|---|
boolean |
contains(EffectiveNodeTypeCache.Key otherKey)
Checks if the
otherKey is contained in this one. |
Name[] |
getNames()
Returns the node type names of this key.
|
EffectiveNodeTypeCache.Key |
subtract(EffectiveNodeTypeCache.Key otherKey)
Creates a new key as a result of a subtract operation.
|
compareTo
Name[] getNames()
boolean contains(EffectiveNodeTypeCache.Key otherKey)
otherKey
is contained in this one. I.e. if
this key contains all node type names of the other key.otherKey
- the other key to checktrue
if this key contains the other key;
false
otherwise.EffectiveNodeTypeCache.Key subtract(EffectiveNodeTypeCache.Key otherKey)
Please note that no exception is thrown if the other key has node type
names that are not contained in this key (i.e. EffectiveNodeTypeCache.contains(Key)
returns false
).
otherKey
- the other key to subtractCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.