MCPcopy Create free account
hub / github.com/BaseXdb/basex / next

Method next

basex-core/src/main/java/org/basex/util/MainParser.java:89–92  ·  view source on GitHub ↗

Returns the next flag. @return next flag

()

Source from the content-addressed store, hash-verified

87 * @return next flag
88 */
89 public char next() {
90 final String[] args = main.args();
91 return arg < args.length && pos < args[arg].length() ? args[arg].charAt(pos++) : 0;
92 }
93
94 /**
95 * Returns the next string argument.

Callers 6

parseArgsMethod · 0.95
parseArgsMethod · 0.95
parseArgsMethod · 0.95
parseArgsMethod · 0.95
parseArgsMethod · 0.95
parseArgsMethod · 0.95

Calls 3

charAtMethod · 0.80
argsMethod · 0.65
lengthMethod · 0.45

Tested by 2

parseArgsMethod · 0.76
parseArgsMethod · 0.76