opennlp.maxent
Class RealBasicEventStream

java.lang.Object
  extended by opennlp.maxent.RealBasicEventStream
All Implemented Interfaces:
EventStream

public class RealBasicEventStream
extends java.lang.Object
implements EventStream


Constructor Summary
RealBasicEventStream(DataStream ds)
           
 
Method Summary
 boolean hasNext()
          Test whether there are any Events remaining in this EventStream.
 Event nextEvent()
          Returns the next Event object held in this EventStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealBasicEventStream

public RealBasicEventStream(DataStream ds)
Method Detail

nextEvent

public Event nextEvent()
Description copied from interface: EventStream
Returns the next Event object held in this EventStream.

Specified by:
nextEvent in interface EventStream
Returns:
the Event object which is next in this EventStream

hasNext

public boolean hasNext()
Description copied from interface: EventStream
Test whether there are any Events remaining in this EventStream.

Specified by:
hasNext in interface EventStream
Returns:
true if this EventStream has more Events


Copyright © 2005 Jason Baldridge, Gann Bierner, and Thomas Morton. All Rights Reserved.