/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/ |
H A D | InputEdge.java | 38 private char toIndex; field in class:InputEdge 43 public InputEdge(char toIndex, int from, int to) { argument 44 this.toIndex = toIndex; 59 return toIndex; 63 return "in" + toIndex; 80 return conn2.toIndex == toIndex && conn2.from == from && conn2.to == to; 85 return "Edge from " + from + " to " + to + "(" + (int) toIndex + ") "; 90 return (from << 20 | to << 8 | toIndex); [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/event/ |
H A D | TableColumnModelEvent.java | 58 protected int toIndex; field in class:TableColumnModelEvent 78 toIndex = to; 88 /** Returns the toIndex. Valid for add and moved events */ 89 public int getToIndex() { return toIndex; };
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | CellTypeStateList.java | 46 public CellTypeStateList subList(int fromIndex, int toIndex) { argument 47 return new CellTypeStateList(list.subList(fromIndex, toIndex));
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Arrays.java | 82 * the index {@code toIndex}, exclusive. If {@code fromIndex == toIndex}, 93 * @param toIndex the index of the last element, exclusive, to be sorted 95 * @throws IllegalArgumentException if {@code fromIndex > toIndex} 97 * if {@code fromIndex < 0} or {@code toIndex > a.length} 99 public static void sort(int[] a, int fromIndex, int toIndex) { argument 100 rangeCheck(a.length, fromIndex, toIndex); 101 DualPivotQuicksort.sort(a, fromIndex, toIndex - 1); 122 * the index {@code toIndex}, exclusive. If {@code fromIndex == toIndex}, 139 sort(long[] a, int fromIndex, int toIndex) argument 179 sort(short[] a, int fromIndex, int toIndex) argument 219 sort(char[] a, int fromIndex, int toIndex) argument 259 sort(byte[] a, int fromIndex, int toIndex) argument 315 sort(float[] a, int fromIndex, int toIndex) argument 371 sort(double[] a, int fromIndex, int toIndex) argument 533 sort(Object[] a, int fromIndex, int toIndex) argument 541 legacyMergeSort(Object[] a, int fromIndex, int toIndex) argument 722 sort(T[] a, int fromIndex, int toIndex, Comparator<? super T> c) argument 731 legacyMergeSort(T[] a, int fromIndex, int toIndex, Comparator<? super T> c) argument 792 rangeCheck(int length, int fromIndex, int toIndex) argument 862 binarySearch(long[] a, int fromIndex, int toIndex, long key) argument 869 binarySearch0(long[] a, int fromIndex, int toIndex, long key) argument 943 binarySearch(int[] a, int fromIndex, int toIndex, int key) argument 950 binarySearch0(int[] a, int fromIndex, int toIndex, int key) argument 1024 binarySearch(short[] a, int fromIndex, int toIndex, short key) argument 1031 binarySearch0(short[] a, int fromIndex, int toIndex, short key) argument 1105 binarySearch(char[] a, int fromIndex, int toIndex, char key) argument 1112 binarySearch0(char[] a, int fromIndex, int toIndex, char key) argument 1186 binarySearch(byte[] a, int fromIndex, int toIndex, byte key) argument 1193 binarySearch0(byte[] a, int fromIndex, int toIndex, byte key) argument 1269 binarySearch(double[] a, int fromIndex, int toIndex, double key) argument 1276 binarySearch0(double[] a, int fromIndex, int toIndex, double key) argument 1360 binarySearch(float[] a, int fromIndex, int toIndex, float key) argument 1367 binarySearch0(float[] a, int fromIndex, int toIndex, float key) argument 1466 binarySearch(Object[] a, int fromIndex, int toIndex, Object key) argument 1473 binarySearch0(Object[] a, int fromIndex, int toIndex, Object key) argument 1567 binarySearch(T[] a, int fromIndex, int toIndex, T key, Comparator<? super T> c) argument 1574 binarySearch0(T[] a, int fromIndex, int toIndex, T key, Comparator<? super T> c) argument 1907 fill(long[] a, int fromIndex, int toIndex, long val) argument 1942 fill(int[] a, int fromIndex, int toIndex, int val) argument 1977 fill(short[] a, int fromIndex, int toIndex, short val) argument 2012 fill(char[] a, int fromIndex, int toIndex, char val) argument 2047 fill(byte[] a, int fromIndex, int toIndex, byte val) argument 2082 fill(boolean[] a, int fromIndex, int toIndex, boolean val) argument 2118 fill(double[] a, int fromIndex, int toIndex,double val) argument 2153 fill(float[] a, int fromIndex, int toIndex, float val) argument 2192 fill(Object[] a, int fromIndex, int toIndex, Object val) argument [all...] |
H A D | AbstractList.java | 227 * 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 D | BitSet.java | 350 * Checks that fromIndex ... toIndex is a valid range of bit indices. 352 private static void checkRange(int fromIndex, int toIndex) { argument 355 if (toIndex < 0) 356 throw new IndexOutOfBoundsException("toIndex < 0: " + toIndex); 357 if (fromIndex > toIndex) 359 " > toIndex: " + toIndex); 385 * specified {@code toIndex} (exclusive) to the complement of its current 389 * @param toIndex inde 395 flip(int fromIndex, int toIndex) argument 472 set(int fromIndex, int toIndex) argument 516 set(int fromIndex, int toIndex, boolean value) argument 555 clear(int fromIndex, int toIndex) argument 636 get(int fromIndex, int toIndex) argument [all...] |
H A D | ArrayList.java | 601 * {@code fromIndex}, inclusive, and {@code toIndex}, exclusive. 603 * This call shortens the list by {@code (toIndex - fromIndex)} elements. 604 * (If {@code toIndex==fromIndex}, this operation has no effect.) 607 * {@code toIndex} is out of range 610 * toIndex > size() || 611 * toIndex < fromIndex}) 613 protected void removeRange(int fromIndex, int toIndex) { argument 615 int numMoved = size - toIndex; 616 System.arraycopy(elementData, toIndex, elementData, fromIndex, 620 int newSize = size - (toIndex 953 subList(int fromIndex, int toIndex) argument 958 subListRangeCheck(int fromIndex, int toIndex, int size) argument 974 SubList(AbstractList<E> parent, int offset, int fromIndex, int toIndex) argument 1019 removeRange(int fromIndex, int toIndex) argument 1148 subList(int fromIndex, int toIndex) argument [all...] |
H A D | JumboEnumSet.java | 56 int toIndex = to.ordinal() >>> 6; 58 if (fromIndex == toIndex) { 63 for (int i = fromIndex + 1; i < toIndex; i++) 65 elements[toIndex] = -1L >>> (63 - to.ordinal());
|
H A D | List.java | 567 * <tt>fromIndex</tt>, inclusive, and <tt>toIndex</tt>, exclusive. (If 568 * <tt>fromIndex</tt> and <tt>toIndex</tt> are equal, the returned list is 593 * @param toIndex high endpoint (exclusive) of the subList 596 * (<tt>fromIndex < 0 || toIndex > size || 597 * fromIndex > toIndex</tt>) 599 List<E> subList(int fromIndex, int toIndex); argument
|
H A D | Vector.java | 1001 * inclusive, and toIndex, exclusive. (If fromIndex and toIndex are 1026 * @param toIndex high endpoint (exclusive) of the subList 1029 * {@code (fromIndex < 0 || toIndex > size)} 1031 * {@code (fromIndex > toIndex)} 1033 public synchronized List<E> subList(int fromIndex, int toIndex) { argument 1034 return Collections.synchronizedList(super.subList(fromIndex, toIndex), 1040 * {@code fromIndex}, inclusive, and {@code toIndex}, exclusive. 1042 * This call shortens the list by {@code (toIndex - fromIndex)} elements. 1043 * (If {@code toIndex 1045 removeRange(int fromIndex, int toIndex) argument [all...] |
H A D | ComparableTimSort.java | 876 * Checks that fromIndex and toIndex are in range, and throws an 881 * @param toIndex the index after the last element of the range 882 * @throws IllegalArgumentException if fromIndex > toIndex 884 * or toIndex > arrayLen 886 private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) { argument 887 if (fromIndex > toIndex) 889 ") > toIndex(" + toIndex+")"); 892 if (toIndex > arrayLen) 893 throw new ArrayIndexOutOfBoundsException(toIndex); [all...] |
H A D | TimSort.java | 909 * Checks that fromIndex and toIndex are in range, and throws an 914 * @param toIndex the index after the last element of the range 915 * @throws IllegalArgumentException if fromIndex > toIndex 917 * or toIndex > arrayLen 919 private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) { argument 920 if (fromIndex > toIndex) 922 ") > toIndex(" + toIndex+")"); 925 if (toIndex > arrayLen) 926 throw new ArrayIndexOutOfBoundsException(toIndex); [all...] |
/openjdk7/jdk/test/java/util/Arrays/ |
H A D | Sorting.java | 111 failed("Arrays.sort(int[],fromIndex,toIndex) shouldn't " + 130 failed("Arrays.sort(long[],fromIndex,toIndex) shouldn't " + 149 failed("Arrays.sort(short[],fromIndex,toIndex) shouldn't " + 168 failed("Arrays.sort(char[],fromIndex,toIndex) shouldn't " + 187 failed("Arrays.sort(byte[],fromIndex,toIndex) shouldn't " + 206 failed("Arrays.sort(float[],fromIndex,toIndex) shouldn't " + 225 failed("Arrays.sort(double[],fromIndex,toIndex) shouldn't " + 239 int toIndex = length - m; 241 prepareSubArray(golden, fromIndex, toIndex, m); 249 sortSubArray(convertedTest, fromIndex, toIndex); 545 prepareSubArray(int[] a, int fromIndex, int toIndex, int m) argument 1525 sortSubArray(Object object, int fromIndex, int toIndex) argument 1548 checkSubArray(Object object, int fromIndex, int toIndex, int m) argument 1571 checkSubArray(Integer[] a, int fromIndex, int toIndex, int m) argument 1593 checkSubArray(int[] a, int fromIndex, int toIndex, int m) argument 1615 checkSubArray(byte[] a, int fromIndex, int toIndex, int m) argument 1637 checkSubArray(long[] a, int fromIndex, int toIndex, int m) argument 1659 checkSubArray(char[] a, int fromIndex, int toIndex, int m) argument 1681 checkSubArray(short[] a, int fromIndex, int toIndex, int m) argument 1703 checkSubArray(float[] a, int fromIndex, int toIndex, int m) argument 1725 checkSubArray(double[] a, int fromIndex, int toIndex, int m) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | DefaultListModel.java | 523 * <code>fromIndex > toIndex</code>. 526 * @param toIndex the index of the upper end of the range 529 public void removeRange(int fromIndex, int toIndex) { argument 530 if (fromIndex > toIndex) { 531 throw new IllegalArgumentException("fromIndex must be <= toIndex"); 533 for(int i = toIndex; i >= fromIndex; i--) { 536 fireIntervalRemoved(this, fromIndex, toIndex);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/ |
H A D | FreezableList.java | 136 public List subList(int fromIndex, int toIndex) argument 138 List list = delegate.subList(fromIndex, toIndex) ;
|
/openjdk7/jdk/test/java/util/Currency/ |
H A D | ValidateISO4217.java | 161 int index = toIndex(country); 168 int index = toIndex(additionalCodes[i][0]); 180 static int toIndex(String s) { method in class:ValidateISO4217 246 if (codes[toIndex(country)] == UNDEFINED) { 259 } else if (codes[toIndex(country)] == SKIPPED) {
|
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | FixedList.java | 165 public List<E> subList(int fromIndex, int toIndex) { argument 166 return flist.subList(fromIndex, toIndex);
|
/openjdk7/jdk/src/share/classes/sun/awt/util/ |
H A D | IdentityArrayList.java | 491 * <tt>fromIndex</tt>, inclusive, and <tt>toIndex</tt>, exclusive. 493 * This call shortens the list by <tt>(toIndex - fromIndex)</tt> elements. 494 * (If <tt>toIndex==fromIndex</tt>, this operation has no effect.) 497 * @param toIndex index after last element to be removed 498 * @throws IndexOutOfBoundsException if fromIndex or toIndex out of 499 * range (fromIndex < 0 || fromIndex >= size() || toIndex 500 * > size() || toIndex < fromIndex) 502 protected void removeRange(int fromIndex, int toIndex) { argument 504 int numMoved = size - toIndex; 505 System.arraycopy(elementData, toIndex, elementDat [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | CopyOnWriteArrayList.java | 542 * <tt>fromIndex</tt>, inclusive, and <tt>toIndex</tt>, exclusive. 544 * This call shortens the list by <tt>(toIndex - fromIndex)</tt> elements. 545 * (If <tt>toIndex==fromIndex</tt>, this operation has no effect.) 548 * @param toIndex index after last element to be removed 549 * @throws IndexOutOfBoundsException if fromIndex or toIndex out of range 550 * ({@code{fromIndex < 0 || toIndex > size() || toIndex < fromIndex}) 552 private void removeRange(int fromIndex, int toIndex) { argument 559 if (fromIndex < 0 || toIndex > len || toIndex < fromInde 1077 subList(int fromIndex, int toIndex) argument 1116 COWSubList(CopyOnWriteArrayList<E> list, int fromIndex, int toIndex) argument 1250 subList(int fromIndex, int toIndex) argument [all...] |
/openjdk7/jdk/src/share/demo/jfc/TableExample/ |
H A D | OldJTable.java | 125 public void moveRow(int startIndex, int endIndex, int toIndex) { argument 127 ((DefaultTableModel)getModel()).moveRow(startIndex, endIndex, toIndex);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | List.java | 471 public java.util.List<A> subList(int fromIndex, int toIndex) { argument 472 if (fromIndex < 0 || toIndex > size() || fromIndex > toIndex) 475 ArrayList<A> a = new ArrayList<A>(toIndex - fromIndex); 478 if (i == toIndex)
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/ |
H A D | ThreadReferenceImpl.java | 226 int toIndex = start + length; 228 toIndex = frames.size(); 230 retVal = frames.subList(start, toIndex);
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/ |
H A D | Diagram.java | 145 int toIndex = e.getToIndex(); 153 while (toFigure.getInputSlots().size() <= toIndex) { 157 InputSlot inputSlot = toFigure.getInputSlots().get(toIndex);
|
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/ |
H A D | ThreadReferenceImpl.java | 424 int toIndex; 426 toIndex = snapshot.frames.size() - fromIndex; 428 toIndex = fromIndex + length; 430 return Collections.unmodifiableList(snapshot.frames.subList(fromIndex, toIndex));
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | JarIndex.java | 338 * @param toIndex The destination index which the current index will 344 public void merge(JarIndex toIndex, String path) { argument 356 toIndex.add(packageName, jarName);
|