public class SequenceTokensEvent extends ConcreteJPhyloIOEvent
EventContentType.ALIGNMENT
and EventContentType#ALIGNMENT_END
events.
It depends on the implementation of the format specific reader how many tokens are contained in a single event. For performance reasons most applications will group several tokens together in one event, but not necessarily a whole sequence.
Constructor and Description |
---|
SequenceTokensEvent(java.util.List<java.lang.String> tokens) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getTokens() |
asCharacterDefinitionEvent, asCharacterSetIntervalEvent, asCommentEvent, asEdgeEvent, asLabeledIDEvent, asLinkedLabeledIDEvent, asLiteralMetadataContentEvent, asLiteralMetadataEvent, asNodeEvent, asPartEndEvent, asResourceMetadataEvent, asSequenceTokensEvent, asSetElementEvent, asSingleSequenceTokenEvent, asSingleTokenDefinitionEvent, asTokenSetDefinitionEvent, asUnknownCommandEvent, createEndEvent, getType
public SequenceTokensEvent(java.util.List<java.lang.String> tokens)
public java.util.List<java.lang.String> getTokens()