Spring Framework

Package org.springframework.util.comparator

Useful generic java.util.Comparator implementations, such as an invertible comparator and a compound comparator.

See:
          Description

Class Summary
BooleanComparator A Comparator for Boolean objects that can sort either true or false first.
ComparableComparator<T extends Comparable<T>> Comparator that adapts Comparables to the Comparator interface.
CompoundComparator<T> A comparator that chains a sequence of one or more more Comparators.
InvertibleComparator<T> A decorator for a comparator, with an "ascending" flag denoting whether comparison results should be treated in forward (standard ascending) order or flipped for reverse (descending) order.
NullSafeComparator<T> A Comparator that will safely compare nulls to be lower or higher than other objects.
 

Package org.springframework.util.comparator Description

Useful generic java.util.Comparator implementations, such as an invertible comparator and a compound comparator.


Spring Framework