public class NewickToken extends java.lang.Object
Constructor and Description |
---|
NewickToken(NewickTokenType type,
StreamLocationProvider location) |
NewickToken(StreamLocationProvider location,
double length) |
NewickToken(StreamLocationProvider location,
java.lang.String text,
boolean delimited) |
Modifier and Type | Method and Description |
---|---|
double |
getLength() |
StreamLocation |
getLocation() |
java.lang.String |
getText() |
NewickTokenType |
getType() |
void |
setDelimited(boolean delimited) |
void |
setLength(double length) |
void |
setText(java.lang.String text) |
boolean |
wasDelimited() |
public NewickToken(NewickTokenType type, StreamLocationProvider location)
public NewickToken(StreamLocationProvider location, java.lang.String text, boolean delimited)
public NewickToken(StreamLocationProvider location, double length)
public double getLength()
public java.lang.String getText()
public NewickTokenType getType()
public void setLength(double length)
public void setText(java.lang.String text)
public StreamLocation getLocation()
public boolean wasDelimited()
public void setDelimited(boolean delimited)