Searched refs:fromIndex (Results 1 - 7 of 7) sorted by relevance

/libcore/luni/src/main/java/java/util/
H A DBitSet.java232 private void checkRange(int fromIndex, int toIndex) { argument
233 if ((fromIndex | toIndex) < 0 || toIndex < fromIndex) {
234 throw new IndexOutOfBoundsException("fromIndex=" + fromIndex + " toIndex=" + toIndex);
240 * range of bits {@code [fromIndex, toIndex)}, shifted down so that the bit
241 * at {@code fromIndex} is at bit 0 in the new {@code BitSet}.
244 * if {@code fromIndex} or {@code toIndex} is negative, or if
245 * {@code toIndex} is smaller than {@code fromIndex}.
247 public BitSet get(int fromIndex, in argument
324 set(int fromIndex, int toIndex, boolean state) argument
349 set(int fromIndex, int toIndex) argument
382 clear(int fromIndex, int toIndex) argument
419 flip(int fromIndex, int toIndex) argument
[all...]
H A DArrayList.java436 @Override protected void removeRange(int fromIndex, int toIndex) { argument
437 if (fromIndex == toIndex) {
442 if (fromIndex >= s) {
443 throw new IndexOutOfBoundsException("fromIndex " + fromIndex
450 if (fromIndex > toIndex) {
451 throw new IndexOutOfBoundsException("fromIndex " + fromIndex
455 System.arraycopy(a, toIndex, a, fromIndex, s - toIndex);
456 int rangeSize = toIndex - fromIndex;
[all...]
H A DDualPivotQuicksort.java77 * to be sorted extends from the index {@code fromIndex}, inclusive, to
78 * the index {@code toIndex}, exclusive. If {@code fromIndex == toIndex},
82 * @param fromIndex the index of the first element, inclusive, to be sorted
84 * @throws IllegalArgumentException if {@code fromIndex > toIndex}
86 * if {@code fromIndex < 0} or {@code toIndex > a.length}
88 public static void sort(int[] a, int fromIndex, int toIndex) { argument
89 Arrays.checkStartAndEnd(a.length, fromIndex, toIndex);
90 doSort(a, fromIndex, toIndex - 1);
355 * to be sorted extends from the index {@code fromIndex}, inclusive, to
356 * the index {@code toIndex}, exclusive. If {@code fromIndex
366 sort(long[] a, int fromIndex, int toIndex) argument
644 sort(short[] a, int fromIndex, int toIndex) argument
939 sort(char[] a, int fromIndex, int toIndex) argument
1232 sort(byte[] a, int fromIndex, int toIndex) argument
1543 sort(float[] a, int fromIndex, int toIndex) argument
1916 sort(double[] a, int fromIndex, int toIndex) argument
[all...]
H A DCollections.java3026 @Override public List<E> subList(int fromIndex, int toIndex) { argument
3027 return checkedList(l.subList(fromIndex, toIndex), type);
/libcore/luni/src/main/java/javax/security/auth/x500/
H A DX500Principal.java228 int fromIndex = resultName.length();
230 while (-1 != (equalIndex = resultName.lastIndexOf("=", fromIndex))) {
243 fromIndex = commaIndex;
250 int fromIndex = resultName.length();
254 while (-1 != (equalIndex = resultName.lastIndexOf("=", fromIndex))) {
275 fromIndex = commaIndex;
304 int fromIndex = sbName.length();
306 while (-1 != (equalIndex = sbName.lastIndexOf("=", fromIndex))) {
312 fromIndex = commaIndex;
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DInnerNodeImpl.java164 private void refreshIndices(int fromIndex) { argument
165 for (int i = fromIndex; i < children.size(); i++) {
/libcore/luni/src/test/java/tests/api/java/util/
H A DConcurrentModTest.java647 public void removeRange(int fromIndex, int toIndex) { argument
648 super.removeRange(fromIndex, toIndex);

Completed in 147 milliseconds