com.mindfusion.common
Class ArrayIterable<T>

java.lang.Object
  extended by com.mindfusion.common.ArrayIterable<T>
All Implemented Interfaces:
java.lang.Iterable<T>

public class ArrayIterable<T>
extends java.lang.Object
implements java.lang.Iterable<T>

Defines an Iterable on a two-dimentional array of type T.


Constructor Summary
ArrayIterable(T[][] array)
          Initializes a new instance of the ArrayIterable class.
 
Method Summary
 java.util.Iterator<T> iterator()
          Iterable.iterator implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayIterable

public ArrayIterable(T[][] array)
Initializes a new instance of the ArrayIterable class.

Method Detail

iterator

public java.util.Iterator<T> iterator()
Iterable.iterator implementation.

Specified by:
iterator in interface java.lang.Iterable<T>