public final class CoreSorter extends Object implements Comparator<CoreDescriptor>
Constructor and Description |
---|
CoreSorter() |
Modifier and Type | Method and Description |
---|---|
int |
compare(CoreDescriptor cd1,
CoreDescriptor cd2) |
static List<CoreDescriptor> |
sortCores(CoreContainer coreContainer,
List<CoreDescriptor> descriptors)
Primary entry-point to sort the cores.
|
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 List<CoreDescriptor> sortCores(CoreContainer coreContainer, List<CoreDescriptor> descriptors)
public int compare(CoreDescriptor cd1, CoreDescriptor cd2)
compare
in interface Comparator<CoreDescriptor>
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.