Searched refs:index (Results 26 - 50 of 2901) sorted by relevance

1234567891011>>

/openjdk10/jdk/src/java.base/share/classes/java/lang/
H A DStringIndexOutOfBoundsException.java29 * Thrown by {@code String} methods to indicate that an index is either negative
32 * index is equal to the size of the string.
60 * argument indicating the illegal index.
62 * <p>The index is included in this exception's detail message. The
65 * @param index the illegal index.
67 public StringIndexOutOfBoundsException(int index) { argument
68 super("String index out of range: " + index);
H A DArrayIndexOutOfBoundsException.java29 * Thrown to indicate that an array has been accessed with an illegal index. The
30 * index is either negative or greater than or equal to the size of the array.
57 * argument indicating the illegal index.
59 * <p>The index is included in this exception's detail message. The
62 * @param index the illegal index.
64 public ArrayIndexOutOfBoundsException(int index) { argument
65 super("Array index out of range: " + index);
H A DStringConcatHelper.java196 * given the coder and final index. Index is measured in chars, not in bytes!
198 * @param index final char index in the buffer
202 * @return new index
204 static int prepend(int index, byte[] buf, byte coder, boolean value) { argument
207 buf[--index] = 'e';
208 buf[--index] = 'u';
209 buf[--index] = 'r';
210 buf[--index] = 't';
212 buf[--index]
245 prepend(int index, byte[] buf, byte coder, byte value) argument
259 prepend(int index, byte[] buf, byte coder, char value) argument
278 prepend(int index, byte[] buf, byte coder, short value) argument
292 prepend(int index, byte[] buf, byte coder, int value) argument
310 prepend(int index, byte[] buf, byte coder, long value) argument
328 prepend(int index, byte[] buf, byte coder, String value) argument
341 newString(byte[] buf, int index, byte coder) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/reflect/
H A DByteVector.java32 public byte get(int index); argument
33 public void put(int index, byte value); argument
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/util/
H A DAttributesImpl.java124 * @param index The attribute's index (zero-based).
126 * available, or null if the index is out of range.
129 public String getURI (int index) argument
131 if (index >= 0 && index < length) {
132 return data[index*5];
142 * @param index The attribute's index (zero-based).
144 * none is available, or null if the index i
147 getLocalName(int index) argument
165 getQName(int index) argument
183 getType(int index) argument
200 getValue(int index) argument
450 setAttribute(int index, String uri, String localName, String qName, String type, String value) argument
473 removeAttribute(int index) argument
503 setURI(int index, String uri) argument
523 setLocalName(int index, String localName) argument
543 setQName(int index, String qName) argument
562 setType(int index, String type) argument
581 setValue(int index, String value) argument
635 badIndex(int index) argument
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/org/xml/sax/helpers/
H A DAttributesImpl.java124 * @param index The attribute's index (zero-based).
126 * available, or null if the index is out of range.
129 public String getURI (int index) argument
131 if (index >= 0 && index < length) {
132 return data[index*5];
142 * @param index The attribute's index (zero-based).
144 * none is available, or null if the index i
147 getLocalName(int index) argument
165 getQName(int index) argument
183 getType(int index) argument
200 getValue(int index) argument
437 setAttribute(int index, String uri, String localName, String qName, String type, String value) argument
460 removeAttribute(int index) argument
490 setURI(int index, String uri) argument
510 setLocalName(int index, String localName) argument
530 setQName(int index, String qName) argument
549 setType(int index, String type) argument
568 setValue(int index, String value) argument
622 badIndex(int index) argument
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/
H A DTypeEntries.java50 boolean wasNullSeen(int index) { argument
51 int v = pd.intptrAt(index);
55 boolean isTypeUnknown(int index) { argument
56 int v = pd.intptrAt(index);
60 boolean isTypeNone(int index) { argument
61 int v = pd.intptrAt(index);
65 K validKlass(int index) { argument
66 if (!isTypeNone(index) &&
67 !isTypeUnknown(index)) {
68 return methodData.getKlassAtAddress(pd.addressAt(index)
74 printKlass(PrintStream st, int index) argument
93 intptrAt(int index) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DSpinnerListModel.java63 private int index; field in class:SpinnerListModel
83 this.index = 0;
103 this.index = 0;
129 * Changes the list that defines this sequence and resets the index
147 index = 0;
161 return list.get(index);
184 int index = list.indexOf(elt);
185 if (index == -1) {
188 else if (index != this.index) {
[all...]
H A DDefaultListModel.java77 * Returns the component at the specified index.
83 * @param index an index into this list
84 * @return the component at the specified index
85 * @exception ArrayIndexOutOfBoundsException if the <code>index</code>
90 public E getElementAt(int index) { argument
91 return delegate.elementAt(index);
202 * @return the index of the first occurrence of the argument in this
212 * the search at <code>index</code>.
215 * @param index th
221 indexOf(Object elem, int index) argument
248 lastIndexOf(Object elem, int index) argument
267 elementAt(int index) argument
312 setElementAt(E element, int index) argument
332 removeElementAt(int index) argument
355 insertElementAt(E element, int index) argument
449 get(int index) argument
465 set(int index, E element) argument
482 add(int index, E element) argument
498 remove(int index) argument
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/org/xml/sax/ext/
H A DAttributes2Impl.java106 public boolean isDeclared (int index) argument
108 if (index < 0 || index >= getLength ())
110 "No attribute at index: " + index);
111 return declared [index];
121 int index = getIndex (uri, localName);
123 if (index < 0)
127 return declared [index];
137 int index
154 isSpecified(int index) argument
281 removeAttribute(int index) argument
306 setDeclared(int index, boolean value) argument
325 setSpecified(int index, boolean value) argument
[all...]
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/
H A DLengthNotWritableFilter.java15 private final SortedMap<Long, Object> extraElements; //elements with index >= length
36 public boolean has(final int index) { argument
37 return super.has(index) || extraElements.containsKey((long)index);
51 public ArrayData ensure(final long index) { argument
61 private boolean checkAdd(final long index, final Object value) { argument
62 if (index >= length()) {
63 extraElements.put(index, value);
69 private Object get(final long index) { argument
70 final Object obj = extraElements.get(index);
78 getInt(final int index) argument
86 getIntOptimistic(final int index, final int programPoint) argument
94 getDouble(final int index) argument
102 getDoubleOptimistic(final int index, final int programPoint) argument
110 getObject(final int index) argument
118 set(final int index, final Object value, final boolean strict) argument
127 set(final int index, final int value, final boolean strict) argument
136 set(final int index, final double value, final boolean strict) argument
145 delete(final int index) argument
[all...]
/openjdk10/hotspot/src/share/vm/ci/
H A DciObjArray.cpp36 ciObject* ciObjArray::obj_at(int index) { argument
39 if (index < 0 || index >= array->length()) return NULL;
40 oop o = array->obj_at(index);
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/
H A DThreadContext.java46 public long getRegister(int index); argument
50 public void setRegister(int index, long value); argument
54 public Address getRegisterAsAddress(int index); argument
58 public void setRegisterAsAddress(int index, Address value); argument
/openjdk10/hotspot/src/cpu/aarch64/vm/
H A DtemplateTable_aarch64.hpp31 Register index = noreg, // itable index, MethodType, etc.
35 static void invokevirtual_helper(Register index, Register recv,
39 static void index_check(Register array, Register index);
40 static void index_check_without_pop(Register array, Register index);
/openjdk10/hotspot/src/share/vm/runtime/
H A DmonitorChunk.cpp43 for (int index = 0; index < number_of_monitors(); index++) {
44 at(index)->oops_do(f);
/openjdk10/jaxp/src/java.xml/share/classes/org/w3c/dom/
H A DNodeList.java49 * index, starting from 0.
54 * Returns the <code>index</code>th item in the collection. If
55 * <code>index</code> is greater than or equal to the number of nodes in
57 * @param index Index into the collection.
58 * @return The node at the <code>index</code>th position in the
60 * index.
62 public Node item(int index); argument
H A DDOMImplementationList.java48 * <code>DOMImplementationList</code> are accessible via an integral index,
55 * Returns the <code>index</code>th item in the collection. If
56 * <code>index</code> is greater than or equal to the number of
59 * @param index Index into the collection.
60 * @return The <code>DOMImplementation</code> at the <code>index</code>
62 * <code>null</code> if that is not a valid index.
64 public DOMImplementation item(int index); argument
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/geom/
H A DRectIterator.java39 int index; field in class:RectIterator
48 index = 6;
67 return index > 5;
76 index++;
101 if (index == 5) {
106 if (index == 1 || index == 2) {
109 if (index == 2 || index == 3) {
115 return (index
[all...]
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/parser/state/
H A DAttributesImpl.java126 * @param index The attribute's index (zero-based).
128 * available, or null if the index is out of range.
131 public String getURI (int index) argument
133 if (index >= 0 && index < length) {
134 return data[index*5];
144 * @param index The attribute's index (zero-based).
146 * none is available, or null if the index i
149 getLocalName(int index) argument
167 getQName(int index) argument
185 getType(int index) argument
202 getValue(int index) argument
433 setAttribute(int index, String uri, String localName, String qName, String type, String value) argument
456 removeAttribute(int index) argument
480 setURI(int index, String uri) argument
500 setLocalName(int index, String localName) argument
520 setQName(int index, String qName) argument
539 setType(int index, String type) argument
558 setValue(int index, String value) argument
607 badIndex(int index) argument
[all...]
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/gen/config/
H A DAttributesImpl.java129 * @param index The attribute's index (zero-based).
131 * available, or null if the index is out of range.
134 public String getURI (int index) argument
136 if (index >= 0 && index < length) {
137 return data[index*5];
147 * @param index The attribute's index (zero-based).
149 * none is available, or null if the index i
152 getLocalName(int index) argument
170 getQName(int index) argument
188 getType(int index) argument
205 getValue(int index) argument
436 setAttribute(int index, String uri, String localName, String qName, String type, String value) argument
459 removeAttribute(int index) argument
483 setURI(int index, String uri) argument
503 setLocalName(int index, String localName) argument
523 setQName(int index, String qName) argument
542 setType(int index, String type) argument
561 setValue(int index, String value) argument
610 badIndex(int index) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/util/
H A DAbstractSequentialList.java36 * that it implements the "random access" methods ({@code get(int index)},
37 * {@code set(int index, E element)}, {@code add(int index, E element)} and
38 * {@code remove(int index)}) on top of the list's list iterator, instead of
45 * {@code previous} and {@code index} methods.<p>
81 * indexed element (with {@code listIterator(index)}). Then, it gets
86 public E get(int index) { argument
88 return listIterator(index).next();
90 throw new IndexOutOfBoundsException("Index: "+index);
99 * indexed element (with {@code listIterator(index)})
113 set(int index, E element) argument
144 add(int index, E element) argument
169 remove(int index) argument
212 addAll(int index, Collection<? extends E> c) argument
251 listIterator(int index) argument
[all...]
/openjdk10/jdk/src/java.desktop/unix/classes/sun/java2d/xr/
H A DGrowableRectArray.java55 public final void setX(int index, int x) { argument
56 array[getCellIndex(index)] = x;
59 public final void setY(int index, int y) { argument
60 array[getCellIndex(index) + 1] = y;
63 public final void setWidth(int index, int width) { argument
64 array[getCellIndex(index) + 2] = width;
67 public final void setHeight(int index, int height) { argument
68 array[getCellIndex(index) + 3] = height;
71 public final int getX(int index) { argument
72 return array[getCellIndex(index)];
75 getY(int index) argument
79 getWidth(int index) argument
83 getHeight(int index) argument
[all...]
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/monitor/
H A DByteArrayMonitor.java53 * @return byte - the byte value at the specified index in the
56 public byte byteAt(int index); argument
/openjdk10/jdk/src/java.management/share/classes/sun/management/counter/
H A DByteArrayCounter.java43 public byte byteAt(int index); argument
H A DLongArrayCounter.java42 public long longAt(int index); argument

Completed in 128 milliseconds

1234567891011>>