Java org.apache.commons.collections.iterators CollatingIterator fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections.iterators CollatingIterator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections.iterators CollatingIterator.

The text is from its open source code.

Constructor

CollatingIterator(final Comparator comp)
Constructs a new CollatingIterator that will used the specified comparator for ordering.
CollatingIterator(final Comparator comp, final Iterator a, final Iterator b)
Constructs a new CollatingIterator that will use the specified comparator to provide ordered iteration over the two given iterators.
CollatingIterator(final Comparator comp, final int initIterCapacity)
Constructs a new CollatingIterator that will used the specified comparator for ordering and have the specified initial capacity.
CollatingIterator(final Comparator comp, final Iterator[] iterators)
Constructs a new CollatingIterator that will use the specified comparator to provide ordered iteration over the array of iterators.
CollatingIterator(final Comparator comp, final Collection iterators)
Constructs a new CollatingIterator that will use the specified comparator to provide ordered iteration over the collection of iterators.

Method

voidaddIterator(final Iterator iterator)
Adds the given Iterator to the iterators being collated.
ListgetIterators()
Gets the list of Iterators (unmodifiable).