Package cc.mallet.util
Class PropertyList.Iterator
- java.lang.Object
-
- 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
Constructors Constructor Description Iterator(PropertyList pl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKey()doublegetNumericValue()java.lang.ObjectgetObjectValue()booleanhasNext()booleanisNumeric()java.lang.Objectnext()PropertyListnextProperty()voidremove()
-
-
-
Constructor Detail
-
Iterator
public Iterator(PropertyList pl)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.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:
nextin interfacejava.util.Iterator
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator
-
-