public static class SortWrapper.DistanceComparator<E> extends Object implements Comparator<SortWrapper<E>>
| Constructor and Description |
|---|
DistanceComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(SortWrapper<E> o1,
SortWrapper<E> o2) |
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 int compare(SortWrapper<E> o1, SortWrapper<E> o2)
compare in interface Comparator<SortWrapper<E>>Copyright © 2010-2015. All Rights Reserved.