edu.stanford.nlp.util
Class ArrayIterable<E>

java.lang.Object
  extended by edu.stanford.nlp.util.ArrayIterable<E>
All Implemented Interfaces:
Iterable<E>

public class ArrayIterable<E>
extends Object
implements Iterable<E>

Author:
Gabor Angeli (angeli at cs.stanford)

Field Summary
 E[] data
           
 
Constructor Summary
ArrayIterable(E[] data)
           
 
Method Summary
 Iterator<E> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public final E[] data
Constructor Detail

ArrayIterable

public ArrayIterable(E[] data)
Method Detail

iterator

public Iterator<E> iterator()
Specified by:
iterator in interface Iterable<E>


Stanford NLP Group