Class InheritanceComparator
java.lang.Object
me.lucko.luckperms.common.inheritance.InheritanceComparator
- All Implemented Interfaces:
Comparator<PermissionHolder>
Determines the order of group inheritance in
PermissionHolder.-
Method Summary
Modifier and TypeMethodDescriptionintcompare(PermissionHolder o1, PermissionHolder o2) static Comparator<? super PermissionHolder> getFor(PermissionHolder origin) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
getFor
-
compare
- Specified by:
comparein interfaceComparator<PermissionHolder>
-