MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / getSid

Method getSid

src/main/java/com/amazon/ion/SymbolToken.java:71–71  ·  view source on GitHub ↗

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 SymbolTable#UNKNOWN_SYMBOL_ID. In such cases #getText() will be non-null. @return the symbol ID (sid) of this symbol, or {@link Symb

()

Source from the content-addressed store, hash-verified

69 * {@link SymbolTable#UNKNOWN_SYMBOL_ID} if the sid is unknown.
70 */
71 public int getSid();
72}

Callers 15

checkSymbolMethod · 0.95
compareScalarsMethod · 0.95
internKnownTextMethod · 0.95
testInternUnknownTextMethod · 0.95
testFindSymbolTokenMethod · 0.95
testInternKnownTextMethod · 0.95
testFindSymbolTokenMethod · 0.95
symbolValueMethod · 0.95
assertSpanMethod · 0.95

Implementers 2

FakeSymbolTokensrc/test/java/com/amazon/ion/FakeSymbo
SymbolTokenImplsrc/main/java/com/amazon/ion/impl/Symb

Calls

no outgoing calls

Tested by 15

checkSymbolMethod · 0.76
compareScalarsMethod · 0.76
internKnownTextMethod · 0.76
testInternUnknownTextMethod · 0.76
testFindSymbolTokenMethod · 0.76
testInternKnownTextMethod · 0.76
testFindSymbolTokenMethod · 0.76
symbolValueMethod · 0.76
assertSpanMethod · 0.76