public class DoubleArrayComparator extends Object implements Comparator
| Constructor and Description |
|---|
DoubleArrayComparator(int newSortIndex) |
DoubleArrayComparator(int newSortIndex,
boolean ascending) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object arg0,
Object arg1)
compare two array of Comparable
|
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 DoubleArrayComparator(int newSortIndex)
public DoubleArrayComparator(int newSortIndex,
boolean ascending)
public int compare(Object arg0, Object arg1)
compare in interface ComparatorCopyright © 2012-2018. All Rights Reserved.