public class MenuElementVisitComparator extends Object implements Comparator<MenuElement>
Constructor and Description |
---|
MenuElementVisitComparator(ContentContext inCtx,
boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(MenuElement elem1,
MenuElement elem2) |
static int |
compareVisit(ContentContext ctx,
int multiply,
MenuElement elem1,
MenuElement elem2) |
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 MenuElementVisitComparator(ContentContext inCtx, boolean ascending)
public static int compareVisit(ContentContext ctx, int multiply, MenuElement elem1, MenuElement elem2)
public int compare(MenuElement elem1, MenuElement elem2)
compare
in interface Comparator<MenuElement>
Copyright © 2012-2018. All Rights Reserved.