Interface ElementComparison
-
public interface ElementComparison
AnElementComparison
operation is an operation which is used to make comparisons between elements. It is required to have an array ofComparator
s ofElement
s
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Comparator<Element>
getCombinedComparator()
Combine all currently registered comparators into a singleComparator
object.default Set<Pair<String,String>>
getComparableGroupPropertyPairs()
Get all of the Group-Property pairs which implement theComparable
interface.List<Comparator<Element>>
getComparators()
Get the list ofElement
comparators registered to the operation.
-
-
-
Method Detail
-
getComparators
List<Comparator<Element>> getComparators()
Get the list ofElement
comparators registered to the operation.- Returns:
- an ordered
List
containing the comparators
-
getCombinedComparator
default Comparator<Element> getCombinedComparator()
Combine all currently registered comparators into a singleComparator
object.- Returns:
- the combined comparator
-
-