Interface PersistedCollectionMemberGraph.DepthIterator

All Superinterfaces:
Iterator<PersistedCollectionMemberGraph.PersistedCollectionMemberNode>
Enclosing interface:
PersistedCollectionMemberGraph

public static interface PersistedCollectionMemberGraph.DepthIterator extends Iterator<PersistedCollectionMemberGraph.PersistedCollectionMemberNode>
Iterator to perform a depth-first navigation of a member graph. Method remove() is not supported for this iterator (throws exception).

Supported API: true

Extendable: false
See Also:
  • invalid reference
    wt.facade.persistedcollection.PersistedCollectionMemberGraph#depthIterator(java.lang.Boolean, java.lang.Boolean)
  • Method Details

    • getLocalLevel

      int getLocalLevel()
      Get a node's local level at a specific navigated position in the graph.

      Supported API: true
      Returns:
      Local level of the last member node returned by next() method.
    • getLocalRoles

      Collection<String> getLocalRoles()
      Get a node's local roles at a specific navigated position in the graph.

      Supported API: true
      Returns:
      Local roles of the last member node returned by next() method (may be null).