cc.mallet.pipe.iterator
Class ArrayDataAndTargetIterator

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

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


Constructor Summary
ArrayDataAndTargetIterator(java.util.List data, java.util.List targets)
           
ArrayDataAndTargetIterator(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

ArrayDataAndTargetIterator

public ArrayDataAndTargetIterator(java.util.List data,
                                  java.util.List targets)

ArrayDataAndTargetIterator

public ArrayDataAndTargetIterator(java.lang.Object[] data,
                                  java.lang.Object[] target)
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>