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