Interface INbtPathNavigation
- All Known Implementing Classes:
NbtPathNavigationAdapter
,NbtPathNavigationLeafWildcard
,NbtPathNavigationLinkWildcard
,NbtPathNavigationList
public interface INbtPathNavigation
Datastructure that represents a concrete key-based navigation path that can be derived from a JSON path.
-
Method Summary
Modifier and TypeMethodDescriptionGet the child navigation of the given key, or null if it is not present.boolean
Check if the given key is a leaf in this navigation, i.e., it is present and has no children.
-
Method Details
-
isLeafKey
Check if the given key is a leaf in this navigation, i.e., it is present and has no children.- Parameters:
key
- A key.- Returns:
- If it is a leaf key.
-
getNext
Get the child navigation of the given key, or null if it is not present.- Parameters:
key
- A key.- Returns:
- The child navigation or null.
-