Package org.jvnet.jaxb2.maven2.util
Class CollectionUtils.PositiveComparatorWithNullAsGreatest<V extends Object & Comparable<? super V>>
- java.lang.Object
-
- org.jvnet.jaxb2.maven2.util.CollectionUtils.PositiveComparatorWithNullAsGreatest<V>
-
- All Implemented Interfaces:
Comparator<V>
- Enclosing class:
- CollectionUtils
public static class CollectionUtils.PositiveComparatorWithNullAsGreatest<V extends Object & Comparable<? super V>> extends Object implements Comparator<V>
-
-
Constructor Summary
Constructors Constructor Description PositiveComparatorWithNullAsGreatest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(V o1, V o2)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(V o1, V o2)
- Specified by:
comparein interfaceComparator<V extends Object & Comparable<? super V>>
-
-