public static class OrderedModel.OrderedModelComparator<OM extends OrderedModel> extends Object implements Comparator<OM>
| Modifier and Type | Field and Description |
|---|---|
static OrderedModel.OrderedModelComparator |
INSTANCE |
| Constructor and Description |
|---|
OrderedModelComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(OM o1,
OM o2) |
static <T extends OrderedModel> |
getInstance() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final OrderedModel.OrderedModelComparator INSTANCE
public static <T extends OrderedModel> OrderedModel.OrderedModelComparator<T> getInstance()
public int compare(OM o1, OM o2)
compare in interface Comparator<OM extends OrderedModel>Copyright © 2020 JBoss by Red Hat. All rights reserved.