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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public DoubleArrayComparator(int newSortIndex)
public DoubleArrayComparator(int newSortIndex, boolean ascending)
public int compare(Object arg0, Object arg1)
compare
in interface Comparator
Copyright © 2012-2018. All Rights Reserved.