Java org.apache.commons.collections4.comparators ComparatorChain fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections4.comparators ComparatorChain fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections4.comparators ComparatorChain.

The text is from its open source code.

Constructor

ComparatorChain(final Comparator comparator)
Construct a ComparatorChain with a single Comparator, sorting in the forward order
ComparatorChain(final List> list)
Construct a ComparatorChain from the Comparators in the List.
ComparatorChain()
Construct a ComparatorChain with no Comparators.

Method

voidaddComparator(final Comparator comparator)
Add a Comparator to the end of the chain using the forward sort order
intsize()
Number of Comparators in the current ComparatorChain.