Lines Matching refs:chars
51 @Beta // Possibly change from chars to code points; decide constants vs. methods
465 final char[] chars = sequence.toString().toCharArray();
466 Arrays.sort(chars); // not worth collapsing duplicates
470 return Arrays.binarySearch(chars, c) >= 0;
474 for (char c : chars) {
872 char[] chars = string.toCharArray();
879 if (pos == chars.length) {
882 if (matches(chars[pos])) {
885 chars[pos - spread] = chars[pos];
890 return new String(chars, 0, pos - spread);
930 char[] chars = string.toCharArray();
931 chars[pos] = replacement;
932 for (int i = pos + 1; i < chars.length; i++) {
933 if (matches(chars[i])) {
934 chars[i] = replacement;
937 return new String(chars);