Class ImmutableTreeNode
java.lang.Object
me.lucko.luckperms.common.treeview.ImmutableTreeNode
- All Implemented Interfaces:
Comparable<ImmutableTreeNode>
An immutable and sorted version of TreeNode
Entries in the children map are sorted first by whether they have
any children, and then alphabetically
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(@NonNull ImmutableTreeNode o) Gets the node endings of each branch of the tree at this stage The key represents the depth of the node.com.google.gson.JsonObject
-
Constructor Details
-
ImmutableTreeNode
-
-
Method Details
-
getChildren
-
getNodeEndings
-
toJson
-
compareTo
- Specified by:
compareToin interfaceComparable<ImmutableTreeNode>
-