Home | History | Annotate | Download | only in util

Lines Matching refs:start

40             public CharSequence subSequence(int start, int end) {
41 return forAsciiBytes(bytes, start, end);
55 * @param start index, inclusive
58 * @throws IndexOutOfBoundsException if start or end are negative, if end
59 * is greater than length(), or if start is greater than end
62 final int start, final int end) {
63 validate(start, end, bytes.length);
66 return (char) bytes[index + start];
70 return end - start;
74 newStart -= start;
75 newEnd -= start;
81 return new String(bytes, start, length());
86 static void validate(int start, int end, int length) {
87 if (start < 0) throw new IndexOutOfBoundsException();
90 if (start > end) throw new IndexOutOfBoundsException();