MCPcopy Index your code
hub / github.com/apache/groovy / reset

Method reset

src/main/java/groovy/io/LineColumnReader.java:84–89  ·  view source on GitHub ↗

Resets the stream to the most recent mark.

()

Source from the content-addressed store, hash-verified

82 * Resets the stream to the most recent mark.
83 */
84 @Override
85 public void reset() throws IOException {
86 line = lineMark;
87 column = columnMark;
88 super.reset();
89 }
90
91 /**
92 * Reads a single character.

Callers 2

readMethod · 0.95
testMarkAndResetMethod · 0.45

Calls

no outgoing calls

Tested by 1

testMarkAndResetMethod · 0.36