Package com.complexible.common.util
Class ListComparator<T extends java.lang.Comparable>
- java.lang.Object
-
- com.complexible.common.util.ListComparator<T>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Comparator<java.util.List<T>>
public final class ListComparator<T extends java.lang.Comparable> extends java.lang.Object implements java.util.Comparator<java.util.List<T>>, java.io.Serializable
Implementatino of a Comparator for List's of Comparable objects
- Since:
- 2.1
- Version:
- 2.1
- Author:
- Michael Grove
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListComparator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(java.util.List<T> o1, java.util.List<T> o2)
static <T extends java.lang.Comparable>
ListComparator<T>create()
-
-
-
Method Detail
-
create
public static <T extends java.lang.Comparable> ListComparator<T> create()
-
-