Interface EffectiveNodeTypeCache.Key

    • Method Detail

      • getNames

        Name[] getNames()
        Returns the node type names of this key.
        Returns:
        the node type names of this key.
      • contains

        boolean contains​(EffectiveNodeTypeCache.Key otherKey)
        Checks if the otherKey is contained in this one. I.e. if this key contains all node type names of the other key.
        Parameters:
        otherKey - the other key to check
        Returns:
        true if this key contains the other key; false otherwise.
      • subtract

        EffectiveNodeTypeCache.Key subtract​(EffectiveNodeTypeCache.Key otherKey)
        Creates a new key as a result of a subtract operation. i.e. removes all node type names that from the other key.

        Please note that no exception is thrown if the other key has node type names that are not contained in this key (i.e. contains(Key) returns false).

        Parameters:
        otherKey - the other key to subtract
        Returns:
        the new key of the subtraction operation.