# Package org.apache.commons.collections4.comparators

This package contains implementations of the `Comparator` interface.

See: Description

- Class Summary
  Class | Description
  --- | ---
  BooleanComparator | A `Comparator` for `Boolean` objects that can sort either true or false first.
  ComparableComparator<E extends Comparable<? super E>> | A `Comparator` that compares `Comparable` objects.
  ComparatorChain<E> | A ComparatorChain is a Comparator that wraps one or more Comparators in sequence.
  FixedOrderComparator<T> | A Comparator which imposes a specific order on a specific set of Objects.
  NullComparator<E> | A Comparator that will compare nulls to be either lower or higher than other objects.
  ReverseComparator<E> | Reverses the order of another comparator by reversing the arguments to its `compare` method.
  TransformingComparator<I,O> | Decorates another Comparator with transformation behavior.

- Enum Summary
  Enum | Description
  --- | ---
  FixedOrderComparator.UnknownObjectBehavior | Unknown object behavior enum.

## Package org.apache.commons.collections4.comparators Description

This package contains implementations of the `Comparator` interface.

You may also consider using `ComparatorUtils`, which is a single class that uses static methods to construct instances of the classes in this package.

Version:
  $Id: package-info.java 1477747 2013-04-30 18:16:48Z tn $

Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.