| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | assumeText()
Implements com. Gets the text of this symbol, throwing an exception if its unknown. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Implements com. Compares symboltokens for equality. |
| public int | |
| public String | |
| public int | hashCode()
Overrides java. Implements com. Hashes the symboltoken for bucketing. |
| public String |
| mySid | back to summary |
|---|---|
| private final int mySid | |
| myText | back to summary |
|---|---|
| private final String myText | |
| SymbolTokenImpl | back to summary |
|---|---|
| pack-priv SymbolTokenImpl(String text, int sid) | |
| SymbolTokenImpl | back to summary |
|---|---|
| pack-priv SymbolTokenImpl(int sid) | |
| assumeText | back to summary |
|---|---|
| public String assumeText() Implements com. Doc from com. Gets the text of this symbol, throwing an exception if its unknown.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements com. Doc from com. Compares symboltokens for equality.
| |
| getSid | back to summary |
|---|---|
| public int getSid() Implements com. Doc from com. Gets the ID of this symbol token.
If no ID has yet been assigned (as may be the case when processing Ion
text-formatted data), this method returns
| |
| getText | back to summary |
|---|---|
| public String getText() Implements com. Doc from com. Gets the text of this symbol.
If the text is not known (usually due to a shared symbol table being
unavailable) then this method returns null.
In such cases
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements com. Doc from com. Hashes the symboltoken for bucketing.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |