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

Method hasNext

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

Determines whether there is another value at the current depth; in other words whether there is a sibling value that may be reached using #next(). This method may be called multiple times, which does not move the current position. WARNING: this method alters the internal state of

()

Source from the content-addressed store, hash-verified

159 * checking for a {@code null} response from {@link #next()}.
160 */
161 @Deprecated
162 public boolean hasNext();
163
164 /**

Callers 15

testBenchmarkDirectMethod · 0.95
checkEofMethod · 0.65
testListParsingMethod · 0.65
loadBulkDataSetMethod · 0.65
testRoundTripFromDomMethod · 0.65
checkNullContainerMethod · 0.65
testClearContainerMethod · 0.65
testIteratorRemoveMethod · 0.65
loadSystemPropertiesMethod · 0.65

Implementers 5

IonReaderTreeSystemsrc/main/java/com/amazon/ion/impl/IonR
IonReaderNonContinuableSystemsrc/main/java/com/amazon/ion/impl/IonR
SymbolTableReadersrc/main/java/com/amazon/ion/impl/IonR
SymbolTableReadersrc/main/java/com/amazon/ion/impl/Symb
IonReaderContinuableTopLevelBinarysrc/main/java/com/amazon/ion/impl/IonR

Calls

no outgoing calls

Tested by 15

testBenchmarkDirectMethod · 0.76
checkEofMethod · 0.52
testListParsingMethod · 0.52
loadBulkDataSetMethod · 0.52
testRoundTripFromDomMethod · 0.52
checkNullContainerMethod · 0.52
testClearContainerMethod · 0.52
testIteratorRemoveMethod · 0.52
loadSystemPropertiesMethod · 0.52