Lines Matching refs:beginIndex
4995 * specified {@code beginIndex} and extends to the
4998 * {@code endIndex-beginIndex}. Unpaired surrogates within
5002 * @param beginIndex the index to the first {@code char} of
5010 * {@code beginIndex} is negative, or {@code endIndex}
5012 * {@code beginIndex} is larger than {@code endIndex}.
5015 public static int codePointCount(CharSequence seq, int beginIndex, int endIndex) {
5017 if (beginIndex < 0 || endIndex > length || beginIndex > endIndex) {
5020 int n = endIndex - beginIndex;
5021 for (int i = beginIndex; i < endIndex; ) {