Package org.nuxeo.ecm.core.storage.sql
Class ACLRow.ACLRowPositionComparator
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.ACLRow.ACLRowPositionComparator
-
- All Implemented Interfaces:
Comparator<ACLRow>
- Enclosing class:
- ACLRow
public static class ACLRow.ACLRowPositionComparator extends Object implements Comparator<ACLRow>
Comparator ofACLRow
s according to their pos field.
-
-
Field Summary
Fields Modifier and Type Field Description static ACLRow.ACLRowPositionComparator
INSTANCE
-
Constructor Summary
Constructors Constructor Description ACLRowPositionComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(ACLRow acl1, ACLRow acl2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
INSTANCE
public static final ACLRow.ACLRowPositionComparator INSTANCE
-
-
Method Detail
-
compare
public int compare(ACLRow acl1, ACLRow acl2)
- Specified by:
compare
in interfaceComparator<ACLRow>
-
-