MCPcopy Create free account
hub / github.com/antlr/codebuff / advance

Method advance

output/java_guava/1.4.16/MultiReader.java:47–52  ·  view source on GitHub ↗

Closes the current reader and opens the next one, if any.

()

Source from the content-addressed store, hash-verified

45 */
46
47 private void advance() throws IOException {
48 close();
49 if (it.hasNext()) {
50 current = it.next().openStream();
51 }
52 }
53
54 @Override
55 public int read(@Nullable char cbuf[], int off, int len) throws IOException {

Callers 3

MultiReaderMethod · 0.95
readMethod · 0.95
skipMethod · 0.95

Calls 4

closeMethod · 0.95
nextMethod · 0.65
hasNextMethod · 0.45
openStreamMethod · 0.45

Tested by

no test coverage detected