|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iu.cnets.klatsch.stream.Stream
edu.iu.cnets.klatsch.stream.SIterator
edu.iu.cnets.klatsch.stream.SEventIterator
public class SEventIterator
This class wraps a stream around an iterator over Event
objects.
This provides functionality to the VFeed
class that SIterator
cannot,
since we need to translate Event
objects into VEvent
objects.
Field Summary |
---|
Fields inherited from class edu.iu.cnets.klatsch.stream.SIterator |
---|
iter |
Fields inherited from class edu.iu.cnets.klatsch.stream.Stream |
---|
buffer |
Constructor Summary | |
---|---|
SEventIterator(java.util.Iterator<Event> iter)
Builds a new stream from the given iterator. |
Method Summary | |
---|---|
Value |
getNext()
Gets the next value in the list, if possible. |
Methods inherited from class edu.iu.cnets.klatsch.stream.SIterator |
---|
done, toString |
Methods inherited from class edu.iu.cnets.klatsch.stream.Stream |
---|
current, get |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SEventIterator(java.util.Iterator<Event> iter)
Method Detail |
---|
public Value getNext() throws EvaluationException
getNext
in class SIterator
EvaluationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |