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

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

Introduction

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

The text is from its open source code.

Constructor

IteratorChain()
Construct an IteratorChain with no Iterators.
IteratorChain(Iterator iterator)
Construct an IteratorChain with a single Iterator.
IteratorChain(Iterator[] iterators)
Constructs a new IteratorChain over the array of iterators.
IteratorChain(Collection iterators)
Constructs a new IteratorChain over the collection of iterators.
IteratorChain(Iterator a, Iterator b)
Constructs a new IteratorChain over the two given iterators.

Method

voidaddIterator(Iterator iterator)
Add an Iterator to the end of the chain
ListgetIterators()
Get the list of Iterators (unmodifiable)
booleanhasNext()
Return true if any Iterator in the IteratorChain has a remaining element.
Objectnext()
Returns the next Object of the current Iterator
intsize()
Number of Iterators in the current IteratorChain.