Class SetComparator<T>
java.lang.Object
org.tweetyproject.arg.aspic.order.SetComparator<T>
- Type Parameters:
 T- type of the compared sets' elements
- All Implemented Interfaces:
 Comparator<Collection<T>>
- Author:
 - Nils Geilen A comparator for sets of T according to def.3.19 in Mogdil and Prakken
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSetComparator(Comparator<T> comp, boolean elitist)Constructs an new set comparator - 
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong 
- 
Constructor Details
- 
SetComparator
Constructs an new set comparator- Parameters:
 comp- comparator for single elementselitist- elitist or democratic behvaiour
 
 - 
 - 
Method Details
- 
compare
- Specified by:
 comparein interfaceComparator<T>
 
 -