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 given
node
visited during a
traversal.-
Method Details
-
getNode
Gets the node that was visited.- Returns:
- The visited node
-
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
-