Example usage for Java org.apache.commons.collections.iterators CollatingIterator fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
void | addIterator(final Iterator iterator) Adds the given Iterator to the iterators being collated. |
List | getIterators() Gets the list of Iterators (unmodifiable). |