cc.mallet.util
Class PropertyList.Iterator

java.lang.Object
  extended by cc.mallet.util.PropertyList.Iterator
All Implemented Interfaces:
java.io.Serializable, java.util.Iterator
Direct Known Subclasses:
PropertyList.NumericIterator, PropertyList.ObjectIterator
Enclosing class:
PropertyList

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

See Also:
Serialized Form

Constructor Summary
PropertyList.Iterator(PropertyList pl)
           
 
Method Summary
 java.lang.String getKey()
           
 double getNumericValue()
           
 java.lang.Object getObjectValue()
           
 boolean hasNext()
           
 boolean isNumeric()
           
 java.lang.Object next()
           
 PropertyList nextProperty()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyList.Iterator

public PropertyList.Iterator(PropertyList pl)
Method Detail

hasNext

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

isNumeric

public boolean isNumeric()

getNumericValue

public double getNumericValue()

getObjectValue

public java.lang.Object getObjectValue()

getKey

public java.lang.String getKey()

nextProperty

public PropertyList nextProperty()

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