public static class CollectionUtils.PositiveComparatorWithNullAsGreatest<V extends Object & Comparable<? super V>> extends Object implements Comparator<V>
| Constructor and Description |
|---|
PositiveComparatorWithNullAsGreatest() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(V o1,
V 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 PositiveComparatorWithNullAsGreatest()
public int compare(V o1, V o2)
compare in interface Comparator<V extends Object & Comparable<? super V>>Copyright © 2006–2022. All rights reserved.