opennlp.tools.util
Class CollectionEventStream

java.lang.Object
  extended by opennlp.model.AbstractEventStream
      extended by 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.


Constructor Summary
CollectionEventStream(Collection<opennlp.model.Event> c)
           
 
Method Summary
 boolean hasNext()
           
 opennlp.model.Event next()
           
 
Methods inherited from class opennlp.model.AbstractEventStream
remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionEventStream

public CollectionEventStream(Collection<opennlp.model.Event> c)
Method Detail

next

public opennlp.model.Event next()

hasNext

public boolean hasNext()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.