Lines Matching refs:end
40 * @param end Last index exclusive to be converted.
41 * @throws IllegalArgumentException if start or end are out of range or start > end.
45 final int end) {
46 if (start < 0 || start > end || end > array.length) {
47 throw new IllegalArgumentException("Invalid start: " + start + " end: " + end
51 final ArrayList<E> list = new ArrayList<>(end - start);
52 for (int i = start; i < end; i++) {