Class DistinctElementComparator<T>

java.lang.Object
org.faktorips.util.collections.DistinctElementComparator<T>
All Implemented Interfaces:
Serializable, Comparator<Collection<T>>

public class DistinctElementComparator<T> extends Object implements Comparator<Collection<T>>, Serializable
Compares two collections by sorting the content using the element comparator and then compare one element after the other. If a collection contains duplicated entries these duplicates will be removed. If you need to compare two lists with specific order and duplicated values you may better use ListComparator
See Also: