edu.stanford.nlp.util
Class ArrayIterable<E>
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
public final E[] data
ArrayIterable
public ArrayIterable(E[] data)
iterator
public Iterator<E> iterator()
- Specified by:
iterator
in interface Iterable<E>
Stanford NLP Group