Class NbtPathNavigationLinkWildcard
java.lang.Object
org.cyclops.cyclopscore.nbt.path.navigate.NbtPathNavigationLinkWildcard
- All Implemented Interfaces:
INbtPathNavigation
A navigation inner link that matches with all leafs.
-
Constructor Summary
-
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.
-
Constructor Details
-
Method Details
-
isLeafKey
Description copied from interface:INbtPathNavigation
Check if the given key is a leaf in this navigation, i.e., it is present and has no children.- Specified by:
isLeafKey
in interfaceINbtPathNavigation
- Parameters:
key
- A key.- Returns:
- If it is a leaf key.
-
getNext
Description copied from interface:INbtPathNavigation
Get the child navigation of the given key, or null if it is not present.- Specified by:
getNext
in interfaceINbtPathNavigation
- Parameters:
key
- A key.- Returns:
- The child navigation or null.
-