Class NbtPathNavigationLeafWildcard
java.lang.Object
org.cyclops.cyclopscore.nbt.path.navigate.NbtPathNavigationLeafWildcard
- All Implemented Interfaces:
INbtPathNavigation
A navigation leaf that matches with all keys.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the child navigation of the given key, or null if it is not present.booleanCheck if the given key is a leaf in this navigation, i.e., it is present and has no children.
-
Field Details
-
INSTANCE
-
-
Method Details
-
isLeafKey
Description copied from interface:INbtPathNavigationCheck if the given key is a leaf in this navigation, i.e., it is present and has no children.- Specified by:
isLeafKeyin interfaceINbtPathNavigation- Parameters:
key- A key.- Returns:
- If it is a leaf key.
-
getNext
Description copied from interface:INbtPathNavigationGet the child navigation of the given key, or null if it is not present.- Specified by:
getNextin interfaceINbtPathNavigation- Parameters:
key- A key.- Returns:
- The child navigation or null.
-