Searched defs:index (Results 1 - 25 of 131) sorted by relevance

123456

/libcore/luni/src/main/java/org/w3c/dom/
H A DDOMImplementationList.java19 * <code>DOMImplementationList</code> are accessible via an integral index,
26 * Returns the <code>index</code>th item in the collection. If
27 * <code>index</code> is greater than or equal to the number of
30 * @param index Index into the collection.
31 * @return The <code>DOMImplementation</code> at the <code>index</code>
33 * <code>null</code> if that is not a valid index.
35 public DOMImplementation item(int index); argument
H A DNodeList.java20 * index, starting from 0.
25 * Returns the <code>index</code>th item in the collection. If
26 * <code>index</code> is greater than or equal to the number of nodes in
28 * @param index Index into the collection.
29 * @return The node at the <code>index</code>th position in the
31 * index.
33 public Node item(int index); argument
H A DDOMStringList.java19 * <code>DOMStringList</code> are accessible via an integral index, starting
26 * Returns the <code>index</code>th item in the collection. If
27 * <code>index</code> is greater than or equal to the number of
29 * @param index Index into the collection.
30 * @return The <code>DOMString</code> at the <code>index</code>th
32 * that is not a valid index.
34 public String item(int index); argument
H A DNameList.java20 * integral index, starting from 0.
26 * Returns the <code>index</code>th name item in the collection.
27 * @param index Index into the collection.
28 * @return The name at the <code>index</code>th position in the
30 * the specified index or if the index is out of range.
32 public String getName(int index); argument
35 * Returns the <code>index</code>th namespaceURI item in the collection.
36 * @param index Index into the collection.
37 * @return The namespace URI at the <code>index</cod
41 getNamespaceURI(int index) argument
[all...]
/libcore/luni/src/main/java/javax/xml/validation/
H A DTypeInfoProvider.java88 * @param index
89 * The index of the attribute. The same index for
94 * If the index is invalid.
109 public abstract TypeInfo getAttributeTypeInfo(int index); argument
130 * @param index
131 * The index of the attribute. The same index for
136 * If the index is invalid.
144 public abstract boolean isIdAttribute(int index); argument
180 isSpecified(int index) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DArrayIndexOutOfBoundsException.java31 * illegal index. The index is either negative or greater than or
51 * class with an argument indicating the illegal index.
53 * @param index the illegal index.
55 public ArrayIndexOutOfBoundsException(int index) { argument
56 super("Array index out of range: " + index);
73 public ArrayIndexOutOfBoundsException(int sourceLength, int index) { argument
74 super("length=" + sourceLength + "; index
[all...]
H A DStringIndexOutOfBoundsException.java30 * Thrown by {@code String} methods to indicate that an index
33 * thrown when the index is equal to the size of the string.
65 * class with an argument indicating the illegal index.
67 * @param index the illegal index.
69 public StringIndexOutOfBoundsException(int index) { argument
70 super("String index out of range: " + index);
78 StringIndexOutOfBoundsException(String s, int index) { argument
79 this(s.length(), index);
86 StringIndexOutOfBoundsException(int sourceLength, int index) argument
[all...]
H A DCharSequence.java70 * Returns the <code>char</code> value at the specified index. An index ranges from zero
72 * index zero, the next at index one, and so on, as for array
75 * <p>If the <code>char</code> value specified by the index is a
79 * @param index the index of the <code>char</code> value to be returned
84 * if the <tt>index</tt> argument is negative or not less than
87 char charAt(int index); argument
91 * The subsequence starts with the <code>char</code> value at the specified index an
[all...]
/libcore/ojluni/src/main/java/sun/misc/
H A DCompoundEnumeration.java37 private int index = 0; field in class:CompoundEnumeration
44 while (index < enums.length) {
45 if (enums[index] != null && enums[index].hasMoreElements()) {
48 index++;
61 return enums[index].nextElement();
/libcore/ojluni/src/main/java/sun/util/locale/
H A DLocaleSyntaxException.java38 private int index = -1; field in class:LocaleSyntaxException
46 index = errorIndex;
50 return index;
/libcore/ojluni/src/main/native/
H A DThrowable.c64 jobject throwable, jint index)
66 return JVM_GetStackTraceElement(env, throwable, index);
63 Throwable_getStackTraceElement(JNIEnv *env, jobject throwable, jint index) argument
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DLeafNodeImpl.java39 int index; field in class:LeafNodeImpl
46 if (parent == null || index + 1 >= parent.children.size()) {
50 return parent.children.get(index + 1);
58 if (parent == null || index == 0) {
62 return parent.children.get(index - 1);
H A DNodeListImpl.java54 public Node item(int index) { argument
55 if (index >= children.size()) {
58 return children.get(index);
/libcore/luni/src/main/java/org/xml/sax/
H A DAttributes.java24 * <li>by attribute index;</li>
96 * Look up an attribute's Namespace URI by index.
98 * @param index The attribute index (zero-based).
100 * is available, or null if the index is out of
104 public abstract String getURI (int index);
108 * Look up an attribute's local name by index.
110 * @param index The attribute index (zero-based).
113 * if the index i
103 getURI(int index) argument
115 getLocalName(int index) argument
127 getQName(int index) argument
150 getType(int index) argument
166 getValue(int index) argument
[all...]
/libcore/luni/src/main/java/org/xml/sax/ext/
H A DAttributes2.java47 * @param index The attribute index (zero-based).
51 * supplied index does not identify an attribute.
53 public boolean isDeclared (int index); argument
94 * @param index The attribute index (zero-based).
98 * supplied index does not identify an attribute.
100 public boolean isSpecified (int index); argument
/libcore/ojluni/src/main/java/java/beans/
H A DIndexedPropertyChangeEvent.java31 * but contains the index of the property that has changed.
46 private int index; field in class:IndexedPropertyChangeEvent
56 * @param index index of the property element that was changed.
60 int index) {
62 this.index = index;
66 * Gets the index of the property that was changed.
68 * @return The index specifying the property element that was
72 return index;
58 IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index) argument
[all...]
/libcore/ojluni/src/main/java/java/net/
H A DURISyntaxException.java44 private int index; field in class:URISyntaxException
48 * index.
52 * @param index The index at which the parse error occurred,
53 * or {@code -1} if the index is not known
59 * If the error index is less than {@code -1}
61 public URISyntaxException(String input, String reason, int index) { argument
65 if (index < -1)
68 this.index = index;
[all...]
/libcore/ojluni/src/main/java/java/nio/
H A DCharBufferSpliterator.java41 private int index; // current index, modified on advance/split field in class:CharBufferSpliterator
51 this.index = (origin <= limit) ? origin : limit;
57 int lo = index, mid = (lo + limit) >>> 1;
60 : new CharBufferSpliterator(buffer, lo, index = mid);
68 int i = index;
70 index = hi;
80 if (index >= 0 && index < limit) {
81 action.accept(buffer.getUnchecked(index
[all...]
/libcore/ojluni/src/main/java/java/nio/file/
H A DInvalidPathException.java40 private int index; field in class:InvalidPathException
44 * index.
48 * @param index the index at which the error occurred,
49 * or <tt>-1</tt> if the index is not known
55 * if the error index is less than <tt>-1</tt>
57 public InvalidPathException(String input, String reason, int index) { argument
61 if (index < -1)
64 this.index = index;
[all...]
/libcore/ojluni/src/main/java/java/sql/
H A DArray.java161 * specified <code>index</code> and containing up to <code>count</code>
170 * @param index the array index of the first element to retrieve;
171 * the first element is at index 1
174 * of the SQL array, beginning with element <code>index</code>
181 Object getArray(long index, int count) throws SQLException; argument
186 * <code>index</code> and containing up to <code>count</code>
202 * @param index the array index of the first element to retrieve;
203 * the first element is at index
219 getArray(long index, int count, java.util.Map<String,Class<?>> map) argument
307 getResultSet(long index, int count) argument
344 getResultSet(long index, int count, java.util.Map<String,Class<?>> map) argument
[all...]
H A DDataTruncation.java54 * @param index The index of the parameter or column value
60 public DataTruncation(int index, boolean parameter, argument
64 this.index = index;
82 * @param index The index of the parameter or column value
93 public DataTruncation(int index, boolean parameter, argument
97 this.index = index;
161 private int index; field in class:DataTruncation
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DParsePosition.java50 * you can use the same <code>ParsePosition</code>, since the index parameter
63 * with each call setting index up for the next one.
65 int index = 0; field in class:ParsePosition
70 * is the index of the character at which parsing will begin; on output, it
71 * is the index of the character following the last character parsed.
76 return index;
82 * @param index the current parse position
84 public void setIndex(int index) { argument
85 this.index = index;
93 ParsePosition(int index) argument
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DAbstractSequentialList.java36 * that it implements the "random access" methods (<tt>get(int index)</tt>,
37 * <tt>set(int index, E element)</tt>, <tt>add(int index, E element)</tt> and
38 * <tt>remove(int index)</tt>) on top of the list's list iterator, instead of
45 * <tt>previous</tt> and <tt>index</tt> methods.<p>
57 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html">
81 * indexed element (with <tt>listIterator(index)</tt>). Then, it gets
86 public E get(int index) { argument
88 return listIterator(index).next();
90 throw new IndexOutOfBoundsException("Index: "+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
252 listIterator(int index) argument
[all...]
/libcore/ojluni/src/main/java/java/util/regex/
H A DPatternSyntaxException.java47 private final int index; field in class:PatternSyntaxException
58 * @param index
59 * The approximate index in the pattern of the error,
60 * or <tt>-1</tt> if the index is not known
62 public PatternSyntaxException(String desc, String regex, int index) { argument
65 this.index = index;
69 * Retrieves the error index.
71 * @return The approximate index in the pattern of the error,
72 * or <tt>-1</tt> if the index i
[all...]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DAdjacencyList.java40 * contains a <code>Certificate</code> and an index value referencing the
41 * next sub-list in the process. If the index value is -1 then this
123 private boolean buildList(List<List<Vertex>> theList, int index, argument
129 List<Vertex> l = theList.get(index);
138 // count an empty list the same as an index of -1...this
211 // index of -1, and doesn't lead to an empty list,

Completed in 859 milliseconds

123456