Package org.faktorips.util.collections
Class ListComparator<T>
java.lang.Object
org.faktorips.util.collections.ListComparator<T>
- All Implemented Interfaces:
Serializable,Comparator<List<T>>
Compares two lists in their current order that means it compares the list one element after the
other.
- Author:
- dirmeier
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic <T> ListComparator<T> listComparator(Comparator<T> elementComparator) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ListComparator
-
-
Method Details
-
listComparator
-
compare
- Specified by:
comparein interfaceComparator<T>
-