public final class ListComparator<T extends Comparable> extends Object implements Comparator<List<T>>, Serializable
Implementatino of a Comparator for List's of Comparable objects
| Constructor and Description |
|---|
ListComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(List<T> o1,
List<T> o2) |
static <T extends Comparable> |
create() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static <T extends Comparable> ListComparator<T> create()
public int compare(List<T> o1, List<T> o2)
compare in interface Comparator<List<T extends Comparable>>Copyright © 2010-2016 Stardog Union. All Rights Reserved.