Class ArrayIterableView<E>
java.lang.Object
ch.nolix.base.foundation.arrayiterableview.ArrayIterableView<E>
- Type Parameters:
E- the type of the elements of the array of aArrayIterableView
- All Implemented Interfaces:
Iterable<E>
-
Method Details
-
forArray
- Type Parameters:
T- the type of the elements of the given array- Parameters:
array-- Returns:
- a new
ArrayIterableViewfor the given array - Throws:
RuntimeException- if the given array is null
-
iterator
-