Interface ElementComparison

  • All Known Implementing Classes:
    Max, Min, Sort

    public interface ElementComparison
    An ElementComparison operation is an operation which is used to make comparisons between elements. It is required to have an array of Comparators of Elements
    • Method Detail

      • getComparators

        List<Comparator<Element>> getComparators()
        Get the list of Element comparators registered to the operation.
        Returns:
        an ordered List containing the comparators
      • getCombinedComparator

        default Comparator<Element> getCombinedComparator()
        Combine all currently registered comparators into a single Comparator object.
        Returns:
        the combined comparator
      • getComparableGroupPropertyPairs

        default Set<Pair<String,​String>> getComparableGroupPropertyPairs()
        Get all of the Group-Property pairs which implement the Comparable interface.
        Returns:
        a Set containing the pairs