cc.mallet.pipe.iterator
Class ArrayIterator

java.lang.Object
  extended by cc.mallet.pipe.iterator.ArrayIterator
All Implemented Interfaces:
java.util.Iterator<Instance>

public class ArrayIterator
extends java.lang.Object
implements java.util.Iterator<Instance>


Constructor Summary
ArrayIterator(java.util.List data)
           
ArrayIterator(java.util.List data, java.lang.Object target)
           
ArrayIterator(java.lang.Object[] data)
           
ArrayIterator(java.lang.Object[] data, java.lang.Object target)
           
 
Method Summary
 boolean hasNext()
           
 Instance next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayIterator

public ArrayIterator(java.util.List data,
                     java.lang.Object target)

ArrayIterator

public ArrayIterator(java.util.List data)

ArrayIterator

public ArrayIterator(java.lang.Object[] data,
                     java.lang.Object target)

ArrayIterator

public ArrayIterator(java.lang.Object[] data)
Method Detail

next

public Instance next()
Specified by:
next in interface java.util.Iterator<Instance>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Instance>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Instance>