MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / next

Method next

src/query/expression/ExpressionReader.java:56–62  ·  view source on GitHub ↗

@return the current character and advances the index

()

Source from the content-addressed store, hash-verified

54
55 /** @return the current character and advances the index */
56 public char next() {
57 if (isEOF()) {
58 throw new NoSuchElementException("Index " + mark + " is out of bounds "
59 + chars.length);
60 }
61 return chars[mark++];
62 }
63
64 /** @param num the number of characters to skip */
65 public void skip(final int num) {

Callers 8

ctorEmptyStringMethod · 0.95
peekMethod · 0.95
nextTillEOFMethod · 0.95
readFuncNameMethod · 0.95
readNextParameterMethod · 0.95
parseMethod · 0.95
readFuncNameMethod · 0.95
readNextParameterMethod · 0.95

Calls 1

isEOFMethod · 0.95

Tested by 5

ctorEmptyStringMethod · 0.76
peekMethod · 0.76
nextTillEOFMethod · 0.76
readFuncNameMethod · 0.76
readNextParameterMethod · 0.76