Class ArrayIterableViewIterator<E>
java.lang.Object
ch.nolix.base.foundation.arrayiterableview.ArrayIterableViewIterator<E>
- Type Parameters:
E- the type of the elements of the array of aArrayIterableViewIterator
- All Implemented Interfaces:
Iterator<E>
-
Method Details
-
forArray
The invoker is responsible that the given array is not null.- Type Parameters:
T- the type of the elements of the given array- Parameters:
array-- Returns:
- a new
ArrayIterableViewIteratorfor the given array
-
hasNext
-
next
- Specified by:
nextin interfaceIterator<E>- Throws:
NoSuchElementException
-