Class ArrayIterable<T>
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.vilTypes.ArrayIterable<T>
-
- Type Parameters:
T- the element type
- All Implemented Interfaces:
java.lang.Iterable<T>
class ArrayIterable<T> extends java.lang.Object implements java.lang.Iterable<T>A simple internal iterator/iterable for arrays.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description private ArraySequence<T>wrapper
-
Constructor Summary
Constructors Constructor Description ArrayIterable(T[] array)Creates a new iterable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<T>iterator()
-
-
-
Field Detail
-
wrapper
private ArraySequence<T> wrapper
-
-
Constructor Detail
-
ArrayIterable
public ArrayIterable(T[] array)
Creates a new iterable.- Parameters:
array- the array to iterate over
-
-