Class ConfigurationTransformation.NodePath

java.lang.Object
ninja.leaping.configurate.transformation.ConfigurationTransformation.NodePath
All Implemented Interfaces:
Iterable<Object>, NodePath
Enclosing class:
ConfigurationTransformation

public static final class ConfigurationTransformation.NodePath
extends Object
implements NodePath
Implementation of NodePath used by this class.
  • Method Details

    • get

      public Object get​(int i)
      Description copied from interface: NodePath
      Gets a specific element from the path array
      Specified by:
      get in interface NodePath
      Parameters:
      i - The index to get
      Returns:
      Object at the index
    • size

      public int size()
      Description copied from interface: NodePath
      Gets the length of the path
      Specified by:
      size in interface NodePath
      Returns:
      Length of the path array
    • getArray

      public Object[] getArray()
      Description copied from interface: NodePath
      Returns a copy of the original path array
      Specified by:
      getArray in interface NodePath
      Returns:
      the copied array
    • iterator

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