Interface NodePath

All Superinterfaces:
Iterable<Object>
All Known Implementing Classes:
ConfigurationTransformation.NodePath

public interface NodePath
extends Iterable<Object>
Represents the path to a given node.
  • Method Details

    • get

      Object get​(int i)
      Gets a specific element from the path array
      Parameters:
      i - The index to get
      Returns:
      Object at the index
    • size

      int size()
      Gets the length of the path
      Returns:
      Length of the path array
    • getArray

      Returns a copy of the original path array
      Returns:
      the copied array
    • iterator

      Returns an iterator over the path.
      Specified by:
      iterator in interface Iterable<Object>
      Returns:
      An iterator of the path