Comparator<V>public static class CollectionUtils.NegativeComparatorWithNullAsSmallest<V extends Object & Comparable<? super V>> extends Object implements Comparator<V>
| Constructor | Description |
|---|---|
NegativeComparatorWithNullAsSmallest() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
compare(V o1,
V o2) |
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic NegativeComparatorWithNullAsSmallest()
public int compare(V o1, V o2)
compare in interface Comparator<V extends Object & Comparable<? super V>>Copyright © 2006–2018. All rights reserved.