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.String
getKey()
double
getNumericValue()
java.lang.Object
getObjectValue()
boolean
hasNext()
boolean
isNumeric()
java.lang.Object
next()
PropertyList
nextProperty()
void
remove()
-
-
-
Constructor Detail
-
Iterator
public Iterator(PropertyList pl)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in 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:
next
in interfacejava.util.Iterator
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator
-
-