Package ninja.leaping.configurate.util
Interface ConfigurationNodeWalker.VisitedNode<T extends ConfigurationNode>
-
- Type Parameters:
T- The node type
- Enclosing class:
- ConfigurationNodeWalker
public static interface ConfigurationNodeWalker.VisitedNode<T extends ConfigurationNode>
Encapsulates a givennodevisited during a traversal.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull TgetNode()Gets the node that was visited.@NonNull NodePathgetPath()Gets the path of the node that was visited.
-
-
-
Method Detail
-
getPath
@NonNull NodePath getPath()
Gets the path of the node that was visited.Equivalent to calling
ConfigurationNode.getPath()- except this method is likely to be more more efficient.- Returns:
- The path of the visited node
-
-