public class ArrayIterable<T>
extends java.lang.Object
implements java.lang.Iterable<T>
Constructor and Description |
---|
ArrayIterable(T[][] array)
Initializes a new instance of the ArrayIterable class.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<T> |
iterator()
Iterable.iterator implementation.
|
public ArrayIterable(T[][] array)
array
- A two-dimensional array that will be iterated.