Home | History | Annotate | Download | only in base

Lines Matching refs:chars

446     final char[] chars = sequence.toString().toCharArray();
447 Arrays.sort(chars); // not worth collapsing duplicates
451 return Arrays.binarySearch(chars, c) >= 0;
454 for (char c : chars) {
836 char[] chars = string.toCharArray();
844 if (pos == chars.length) {
847 if (matches(chars[pos])) {
850 chars[pos - spread] = chars[pos];
855 return new String(chars, 0, pos - spread);
894 char[] chars = string.toCharArray();
895 chars[pos] = replacement;
896 for (int i = pos + 1; i < chars.length; i++) {
897 if (matches(chars[i])) {
898 chars[i] = replacement;
901 return new String(chars);