edu.umass.cs.mallet.base.types
Class InstanceList.Iterator

java.lang.Object
  extended byedu.umass.cs.mallet.base.types.InstanceList.Iterator
All Implemented Interfaces:
java.util.Iterator, java.io.Serializable
Enclosing class:
InstanceList

public class InstanceList.Iterator
extends java.lang.Object
implements java.util.Iterator, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
InstanceList.Iterator()
           
 
Method Summary
 double getInstanceWeight()
           
 boolean hasNext()
           
 java.lang.Object next()
           
 Instance nextInstance()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceList.Iterator

public InstanceList.Iterator()
Method Detail

hasNext

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

nextInstance

public Instance nextInstance()

getInstanceWeight

public double getInstanceWeight()

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

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