public final class Token extends Object
Constructor and Description |
---|
Token(int index,
int length,
Object value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
int |
index()
Returns the index of the token in the original source.
|
int |
length()
Returns the length of the token.
|
String |
toString()
Returns the string representation of the token value.
|
Object |
value()
Returns the token value.
|
public Token(int index, int length, Object value)
index
- the starting index.length
- the length of the token.value
- the token value.Copyright © 2013–2016 jparsec. All rights reserved.