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 |
CollectionEventStream
public CollectionEventStream(Collection<opennlp.model.Event> c)
next
public opennlp.model.Event next()
hasNext
public boolean hasNext()
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.