Class ComparatorSequence<T>

  • All Implemented Interfaces:
    Comparator<T>

    public class ComparatorSequence<T>
    extends Object
    implements Comparator<T>
    Helper class to chain multiple Comparator functions together as a super Comparator.
    Useful for implementing SQL-like "ORDER BY" for querying / processing collections.