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

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

Introduction

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

The text is from its open source code.

Constructor

ArrayIterator(final Object array)
Constructs an ArrayIterator that will iterate over the values in the specified array.
ArrayIterator(final Object array, final int startIndex, final int endIndex)
Construct an ArrayIterator that will iterate over a range of values in the specified array.
ArrayIterator()
Constructor for use with setArray.

Method

booleanhasNext()
Returns true if there are more elements to return from the array.
Objectnext()
Returns the next element in the array.
voidsetArray(final Object array)
Sets the array that the ArrayIterator should iterate over.