opennlp.maxent
Class RealBasicEventStream
java.lang.Object
opennlp.model.AbstractEventStream
opennlp.maxent.RealBasicEventStream
- All Implemented Interfaces:
- EventStream
public class RealBasicEventStream
- extends AbstractEventStream
Method Summary |
boolean |
hasNext()
Test whether there are any Events remaining in this EventStream. |
static void |
main(String[] args)
|
Event |
next()
Returns the next Event object held in this EventStream. |
RealBasicEventStream
public RealBasicEventStream(DataStream ds)
next
public Event next()
- Description copied from interface:
EventStream
- Returns the next Event object held in this 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.
- Returns:
- true if this EventStream has more Events
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.