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

Method advance

output/java_guava/1.4.16/MultiInputStream.java:64–69  ·  view source on GitHub ↗

Closes the current input stream and opens the next one, if any.

()

Source from the content-addressed store, hash-verified

62 */
63
64 private void advance() throws IOException {
65 close();
66 if (it.hasNext()) {
67 in = it.next().openStream();
68 }
69 }
70
71 @Override
72 public int available() throws IOException {

Callers 2

MultiInputStreamMethod · 0.95
readMethod · 0.95

Calls 4

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

Tested by

no test coverage detected