cc.mallet.types
Class SingleInstanceIterator

java.lang.Object
  extended by cc.mallet.types.SingleInstanceIterator
All Implemented Interfaces:
java.util.Iterator<Instance>

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


Constructor Summary
SingleInstanceIterator(Instance inst)
           
 
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

SingleInstanceIterator

public SingleInstanceIterator(Instance inst)
Method Detail

hasNext

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

next

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

remove

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