public class OrderDefaultComparator extends Object implements Comparator<SiteItem>
SiteItem
s through the "orderDefault_f" model value.Modifier and Type | Field and Description |
---|---|
static float |
DEFAULT_ORDER_DEFAULT_VALUE |
static String |
ORDER_DEFAULT_VALUE_KEY |
Constructor and Description |
---|
OrderDefaultComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(SiteItem siteItem1,
SiteItem siteItem2) |
protected Float |
getOrderDefault(SiteItem siteItem) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final String ORDER_DEFAULT_VALUE_KEY
public static final float DEFAULT_ORDER_DEFAULT_VALUE
Copyright © 2022 CrafterCMS. All rights reserved.