Lines Matching refs:pos
21 * Returns the next index in {@code input} at or after {@code pos} that
25 public static int skipUntil(String input, int pos, String characters) {
26 for (; pos < input.length(); pos++) {
27 if (characters.indexOf(input.charAt(pos)) != -1) {
31 return pos;
38 public static int skipWhitespace(String input, int pos) {
39 for (; pos < input.length(); pos++) {
40 char c = input.charAt(pos);
45 return pos;