org.jvnet.jaxb2.maven2.util
Class CollectionUtils.PositiveComparatorWithNullAsGreatest<V extends Object & Comparable<? super V>>

java.lang.Object
  extended by 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
CollectionUtils.PositiveComparatorWithNullAsGreatest()
           
 
Method Summary
 int compare(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
 

Constructor Detail

CollectionUtils.PositiveComparatorWithNullAsGreatest

public CollectionUtils.PositiveComparatorWithNullAsGreatest()
Method Detail

compare

public int compare(V o1,
                   V o2)
Specified by:
compare in interface Comparator<V extends Object & Comparable<? super V>>


Copyright © 2006-2015. All Rights Reserved.