Package org.keycloak.models
Class OrderedModel.OrderedModelComparator<OM extends OrderedModel>
- java.lang.Object
-
- org.keycloak.models.OrderedModel.OrderedModelComparator<OM>
-
- All Implemented Interfaces:
Comparator<OM>
- Enclosing interface:
- OrderedModel
public static class OrderedModel.OrderedModelComparator<OM extends OrderedModel> extends Object implements Comparator<OM>
-
-
Field Summary
Fields Modifier and Type Field Description static OrderedModel.OrderedModelComparator
INSTANCE
-
Constructor Summary
Constructors Constructor Description OrderedModelComparator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(OM o1, OM o2)
static <T extends OrderedModel>
OrderedModel.OrderedModelComparator<T>getInstance()
-
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 OrderedModel.OrderedModelComparator INSTANCE
-
-
Method Detail
-
getInstance
public static <T extends OrderedModel> OrderedModel.OrderedModelComparator<T> getInstance()
-
compare
public int compare(OM o1, OM o2)
- Specified by:
compare
in interfaceComparator<OM extends OrderedModel>
-
-