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
clone, equals, finalize, 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 © 2010. All Rights Reserved.