com.mysema.query.util
Class NullSafeComparableComparator<T extends Comparable<T>>
java.lang.Object
com.mysema.query.util.NullSafeComparableComparator<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- Serializable, Comparator<T>
public class NullSafeComparableComparator<T extends Comparable<T>>
- extends Object
- implements Comparator<T>, Serializable
- Author:
- tiwe
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullSafeComparableComparator
public NullSafeComparableComparator()
compare
public int compare(T obj1,
T obj2)
- Specified by:
compare
in interface Comparator<T extends Comparable<T>>
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.