opennlp.tools.util
Class CollectionEventStream
java.lang.Object
opennlp.model.AbstractEventStream
opennlp.tools.util.CollectionEventStream
- All Implemented Interfaces:
- opennlp.model.EventStream
public class CollectionEventStream
- extends opennlp.model.AbstractEventStream
Creates an event stream out of a collection of events.
Method Summary |
boolean |
hasNext()
|
opennlp.model.Event |
next()
|
Methods inherited from class opennlp.model.AbstractEventStream |
remove |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionEventStream
public CollectionEventStream(Collection<opennlp.model.Event> c)
next
public opennlp.model.Event next()
hasNext
public boolean hasNext()
Copyright © 2010. All Rights Reserved.