Searched defs:toIndex (Results 1 - 10 of 10) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DConcurrentModTest.java647 public void removeRange(int fromIndex, int toIndex) { argument
648 super.removeRange(fromIndex, toIndex);
/libcore/ojluni/src/main/java/java/util/
H A DList.java569 * <tt>fromIndex</tt>, inclusive, and <tt>toIndex</tt>, exclusive. (If
570 * <tt>fromIndex</tt> and <tt>toIndex</tt> are equal, the returned list is
595 * @param toIndex high endpoint (exclusive) of the subList
598 * (<tt>fromIndex &lt; 0 || toIndex &gt; size ||
599 * fromIndex &gt; toIndex</tt>)
601 List<E> subList(int fromIndex, int toIndex); argument
H A DAbstractList.java227 * index)} or {@code removeRange(int fromIndex, int toIndex)} is
479 * {@code (fromIndex < 0 || toIndex > size)}
481 * {@code (fromIndex > toIndex)}
483 public List<E> subList(int fromIndex, int toIndex) { argument
485 new RandomAccessSubList<>(this, fromIndex, toIndex) :
486 new SubList<>(this, fromIndex, toIndex));
547 * {@code fromIndex}, inclusive, and {@code toIndex}, exclusive.
549 * This call shortens the list by {@code (toIndex - fromIndex)} elements.
550 * (If {@code toIndex==fromIndex}, this operation has no effect.)
565 * @param toIndex inde
567 removeRange(int fromIndex, int toIndex) argument
618 SubList(AbstractList<E> list, int fromIndex, int toIndex) argument
666 removeRange(int fromIndex, int toIndex) argument
749 subList(int fromIndex, int toIndex) argument
774 RandomAccessSubList(AbstractList<E> list, int fromIndex, int toIndex) argument
778 subList(int fromIndex, int toIndex) argument
[all...]
H A DBitSet.java352 * Checks that fromIndex ... toIndex is a valid range of bit indices.
354 private static void checkRange(int fromIndex, int toIndex) { argument
357 if (toIndex < 0)
358 throw new IndexOutOfBoundsException("toIndex < 0: " + toIndex);
359 if (fromIndex > toIndex)
361 " > toIndex: " + toIndex);
387 * specified {@code toIndex} (exclusive) to the complement of its current
391 * @param toIndex inde
397 flip(int fromIndex, int toIndex) argument
474 set(int fromIndex, int toIndex) argument
518 set(int fromIndex, int toIndex, boolean value) argument
557 clear(int fromIndex, int toIndex) argument
638 get(int fromIndex, int toIndex) argument
[all...]
H A DSpliterators.java164 * @param toIndex One past the greatest index to cover
171 * {@code toIndex} is less than {@code fromIndex}, or
172 * {@code toIndex} is greater than the array size
175 public static <T> Spliterator<T> spliterator(Object[] array, int fromIndex, int toIndex, argument
177 checkFromToBounds(Objects.requireNonNull(array).length, fromIndex, toIndex);
178 return new ArraySpliterator<>(array, fromIndex, toIndex, additionalCharacteristics);
226 * @param toIndex One past the greatest index to cover
233 * {@code toIndex} is less than {@code fromIndex}, or
234 * {@code toIndex} is greater than the array size
237 public static Spliterator.OfInt spliterator(int[] array, int fromIndex, int toIndex, argument
303 spliterator(long[] array, int fromIndex, int toIndex, int additionalCharacteristics) argument
369 spliterator(double[] array, int fromIndex, int toIndex, int additionalCharacteristics) argument
[all...]
H A DArrayList.java605 * {@code fromIndex}, inclusive, and {@code toIndex}, exclusive.
607 * This call shortens the list by {@code (toIndex - fromIndex)} elements.
608 * (If {@code toIndex==fromIndex}, this operation has no effect.)
611 * {@code toIndex} is out of range
614 * toIndex > size() ||
615 * toIndex < fromIndex})
617 protected void removeRange(int fromIndex, int toIndex) { argument
618 // Android-changed : Throw an IOOBE if toIndex < fromIndex as documented.
621 if (toIndex < fromIndex) {
622 throw new IndexOutOfBoundsException("toIndex < fromInde
978 subList(int fromIndex, int toIndex) argument
983 subListRangeCheck(int fromIndex, int toIndex, int size) argument
999 SubList(AbstractList<E> parent, int offset, int fromIndex, int toIndex) argument
1053 removeRange(int fromIndex, int toIndex) argument
1208 subList(int fromIndex, int toIndex) argument
[all...]
H A DArrays.java132 * the index {@code toIndex}, exclusive. If {@code fromIndex == toIndex},
143 * @param toIndex the index of the last element, exclusive, to be sorted
145 * @throws IllegalArgumentException if {@code fromIndex > toIndex}
147 * if {@code fromIndex < 0} or {@code toIndex > a.length}
149 public static void sort(int[] a, int fromIndex, int toIndex) { argument
150 rangeCheck(a.length, fromIndex, toIndex);
151 DualPivotQuicksort.sort(a, fromIndex, toIndex - 1, null, 0, 0);
172 * the index {@code toIndex}, exclusive. If {@code fromIndex == toIndex},
189 sort(long[] a, int fromIndex, int toIndex) argument
229 sort(short[] a, int fromIndex, int toIndex) argument
269 sort(char[] a, int fromIndex, int toIndex) argument
309 sort(byte[] a, int fromIndex, int toIndex) argument
365 sort(float[] a, int fromIndex, int toIndex) argument
421 sort(double[] a, int fromIndex, int toIndex) argument
483 parallelSort(byte[] a, int fromIndex, int toIndex) argument
553 parallelSort(char[] a, int fromIndex, int toIndex) argument
623 parallelSort(short[] a, int fromIndex, int toIndex) argument
693 parallelSort(int[] a, int fromIndex, int toIndex) argument
763 parallelSort(long[] a, int fromIndex, int toIndex) argument
849 parallelSort(float[] a, int fromIndex, int toIndex) argument
935 parallelSort(double[] a, int fromIndex, int toIndex) argument
1041 parallelSort(T[] a, int fromIndex, int toIndex) argument
1148 parallelSort(T[] a, int fromIndex, int toIndex, Comparator<? super T> cmp) argument
1320 sort(Object[] a, int fromIndex, int toIndex) argument
1329 legacyMergeSort(Object[] a, int fromIndex, int toIndex) argument
1514 sort(T[] a, int fromIndex, int toIndex, Comparator<? super T> c) argument
1528 legacyMergeSort(T[] a, int fromIndex, int toIndex, Comparator<? super T> c) argument
1589 rangeCheck(int length, int fromIndex, int toIndex) argument
1643 parallelPrefix(T[] array, int fromIndex, int toIndex, BinaryOperator<T> op) argument
1688 parallelPrefix(long[] array, int fromIndex, int toIndex, LongBinaryOperator op) argument
1736 parallelPrefix(double[] array, int fromIndex, int toIndex, DoubleBinaryOperator op) argument
1781 parallelPrefix(int[] array, int fromIndex, int toIndex, IntBinaryOperator op) argument
1847 binarySearch(long[] a, int fromIndex, int toIndex, long key) argument
1854 binarySearch0(long[] a, int fromIndex, int toIndex, long key) argument
1928 binarySearch(int[] a, int fromIndex, int toIndex, int key) argument
1935 binarySearch0(int[] a, int fromIndex, int toIndex, int key) argument
2009 binarySearch(short[] a, int fromIndex, int toIndex, short key) argument
2016 binarySearch0(short[] a, int fromIndex, int toIndex, short key) argument
2090 binarySearch(char[] a, int fromIndex, int toIndex, char key) argument
2097 binarySearch0(char[] a, int fromIndex, int toIndex, char key) argument
2171 binarySearch(byte[] a, int fromIndex, int toIndex, byte key) argument
2178 binarySearch0(byte[] a, int fromIndex, int toIndex, byte key) argument
2254 binarySearch(double[] a, int fromIndex, int toIndex, double key) argument
2261 binarySearch0(double[] a, int fromIndex, int toIndex, double key) argument
2345 binarySearch(float[] a, int fromIndex, int toIndex, float key) argument
2352 binarySearch0(float[] a, int fromIndex, int toIndex, float key) argument
2451 binarySearch(Object[] a, int fromIndex, int toIndex, Object key) argument
2458 binarySearch0(Object[] a, int fromIndex, int toIndex, Object key) argument
2552 binarySearch(T[] a, int fromIndex, int toIndex, T key, Comparator<? super T> c) argument
2559 binarySearch0(T[] a, int fromIndex, int toIndex, T key, Comparator<? super T> c) argument
2892 fill(long[] a, int fromIndex, int toIndex, long val) argument
2927 fill(int[] a, int fromIndex, int toIndex, int val) argument
2962 fill(short[] a, int fromIndex, int toIndex, short val) argument
2997 fill(char[] a, int fromIndex, int toIndex, char val) argument
3032 fill(byte[] a, int fromIndex, int toIndex, byte val) argument
3067 fill(boolean[] a, int fromIndex, int toIndex, boolean val) argument
3103 fill(double[] a, int fromIndex, int toIndex,double val) argument
3138 fill(float[] a, int fromIndex, int toIndex, float val) argument
3177 fill(Object[] a, int fromIndex, int toIndex, Object val) argument
[all...]
H A DVector.java1005 * inclusive, and toIndex, exclusive. (If fromIndex and toIndex are
1030 * @param toIndex high endpoint (exclusive) of the subList
1033 * {@code (fromIndex < 0 || toIndex > size)}
1035 * {@code (fromIndex > toIndex)}
1037 public synchronized List<E> subList(int fromIndex, int toIndex) { argument
1038 return Collections.synchronizedList(super.subList(fromIndex, toIndex),
1044 * {@code fromIndex}, inclusive, and {@code toIndex}, exclusive.
1046 * This call shortens the list by {@code (toIndex - fromIndex)} elements.
1047 * (If {@code toIndex
1049 removeRange(int fromIndex, int toIndex) argument
[all...]
H A DCollections.java1349 public List<E> subList(int fromIndex, int toIndex) { argument
1350 return new UnmodifiableList<>(list.subList(fromIndex, toIndex));
1382 public List<E> subList(int fromIndex, int toIndex) { argument
1384 list.subList(fromIndex, toIndex));
2178 public List<E> subList(int fromIndex, int toIndex) { argument
2180 return new SynchronizedList<>(list.subList(fromIndex, toIndex),
2228 public List<E> subList(int fromIndex, int toIndex) { argument
2231 list.subList(fromIndex, toIndex), mutex);
2917 public List<E> subList(int fromIndex, int toIndex) { argument
2918 return new CheckedList<>(list.subList(fromIndex, toIndex), typ
2960 subList(int fromIndex, int toIndex) argument
4251 subList(int fromIndex, int toIndex) argument
[all...]
/libcore/ojluni/src/main/java/sun/misc/
H A DJarIndex.java338 * @param toIndex The destination index which the current index will
344 public void merge(JarIndex toIndex, String path) { argument
356 toIndex.add(packageName, jarName);

Completed in 193 milliseconds