|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectopennlp.model.Sequence<T>
T - The type of the object which is the source of this sequence.public class Sequence<T>
Class which models a sequence.
| Constructor Summary | |
|---|---|
Sequence(Event[] events,
T source)
Creates a new sequence made up of the specified events and derived from the specified source. |
|
| Method Summary | |
|---|---|
Event[] |
getEvents()
Returns the events which make up this sequence. |
T |
getSource()
Returns an object from which this sequence can be derived. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sequence(Event[] events,
T source)
events - The events of the sequence.source - The source object for this sequence.| Method Detail |
|---|
public Event[] getEvents()
public T getSource()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||