MCPcopy Create free account
hub / github.com/algorithmzuo/algorithm-journey / next

Method next

src/class019/Code05_Kattio.java:97–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 public String next() {
98 try {
99 while (st == null || !st.hasMoreTokens())
100 st = new StringTokenizer(r.readLine());
101 return st.nextToken();
102 } catch (Exception e) {
103 }
104 return null;
105 }
106
107 public int nextInt() {
108 return Integer.parseInt(next());

Callers 7

showMethod · 0.95
nextIntMethod · 0.95
nextDoubleMethod · 0.95
nextLongMethod · 0.95
getMaxKeyMethod · 0.45
getMinKeyMethod · 0.45
removeMethod · 0.45

Calls 1

readLineMethod · 0.80

Tested by

no test coverage detected