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

12345678

/dalvik/libcore/luni/src/main/java/java/lang/
H A DArrayIndexOutOfBoundsException.java41 * {@code index}.
43 * @param index
44 * the invalid index.
46 public ArrayIndexOutOfBoundsException(int index) { argument
47 // K0052=Array index out of range\: {0}
48 super(Msg.getString("K0052", index)); //$NON-NLS-1$
H A DStringIndexOutOfBoundsException.java42 * {@code index}.
44 * @param index
45 * the index which is out of bounds.
47 public StringIndexOutOfBoundsException(int index) { argument
48 super(Msg.getString("K0055", index)); //$NON-NLS-1$
H A DCharSequence.java35 * Returns the character at the specified index, with the first character
36 * having index zero.
38 * @param index
39 * the index of the character to return.
42 * if {@code index < 0} or {@code index} is greater than the
45 public char charAt(int index); argument
48 * Returns a {@code CharSequence} from the {@code start} index (inclusive)
49 * to the {@code end} index (exclusive) of this sequence.
53 * is, the index o
[all...]
/dalvik/libcore/luni/src/main/java/java/net/
H A DInterfaceAddress.java28 // The kernel's interface index for the network interface this address
31 final int index; field in class:InterfaceAddress
36 InterfaceAddress(int index, String name, InetAddress address) { argument
37 this.index = index;
H A DURISyntaxException.java32 private int index; field in class:URISyntaxException
37 * index at which the error occurred.
43 * @param index
49 * if the value for {@code index} is lesser than {@code -1}.
51 public URISyntaxException(String input, String reason, int index) { argument
58 if (index < -1) {
63 this.index = index;
86 index = -1;
90 * Gets the index a
[all...]
/dalvik/libcore/xml/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
/dalvik/libcore/awt-kernel/src/main/java/java/beans/
H A DIndexedPropertyChangeEvent.java30 private final int index; field in class:IndexedPropertyChangeEvent
34 * index.
49 * @param index
50 * the index of the property.
53 Object oldValue, Object newValue, int index) {
55 this.index = index;
59 * Answer the index of the property that was changed in this event.
61 * @return the property element index.
64 return index;
52 IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index) argument
[all...]
/dalvik/libcore/prefs/src/main/java/java/util/prefs/
H A DNodeSet.java27 public Node item(int index) { argument
30 result = list.get(index);
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DOIDTokenizer.java12 private int index; field in class:OIDTokenizer
18 this.index = 0;
23 return (index != -1);
28 if (index == -1)
34 int end = oid.indexOf('.', index);
38 token = oid.substring(index);
39 index = -1;
43 token = oid.substring(index, end);
45 index = end + 1;
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
H A DCertPathReviewerException.java11 private int index = -1; field in class:CertPathReviewerException
29 int index)
32 if (certPath == null || index == -1)
36 if (index < -1 || (certPath != null && index >= certPath.getCertificates().size()))
41 this.index = index;
47 int index)
50 if (certPath == null || index == -1)
54 if (index <
25 CertPathReviewerException( ErrorBundle errorMessage, Throwable throwable, CertPath certPath, int index) argument
44 CertPathReviewerException( ErrorBundle errorMessage, CertPath certPath, int index) argument
[all...]
/dalvik/libcore/sql/src/main/java/java/sql/
H A DArray.java39 * starting at a particular {@code index} and comprising up to {@code count}
42 * @param index
51 public Object getArray(long index, int count) throws SQLException; argument
55 * starting at a particular {@code index} and comprising up to {@code count}
58 * @param index
70 public Object getArray(long index, int count, Map<String, Class<?>> map) argument
117 * beginning at a particular index and comprising up to {@code count}
120 * @param index
129 public ResultSet getResultSet(long index, int count) throws SQLException; argument
133 * beginning at a particular index an
149 getResultSet(long index, int count, Map<String, Class<?>> map) argument
[all...]
/dalvik/libcore/xml/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...]
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMNodeListBase.java62 * Returns the <code>index</code>th item in the collection. If
63 * <code>index</code> is greater than or equal to the number of nodes in
65 * @param index Index into the collection.
66 * @return The node at the <code>index</code>th position in the
68 * index.
70 public Node item(int index) { argument
/dalvik/dx/src/com/android/dx/dex/file/
H A DIndexedItem.java20 * An item in a Dalvik file which is referenced by index.
23 /** {@code >= -1;} assigned index of the item, or {@code -1} if not
25 private int index; field in class:IndexedItem
28 * Constructs an instance. The index is initially unassigned.
31 index = -1;
35 * Gets whether or not this instance has been assigned an index.
37 * @return {@code true} iff this instance has been assigned an index
40 return (index >= 0);
44 * Gets the item index.
46 * @return {@code >= 0;} the index
64 setIndex(int index) argument
[all...]
/dalvik/libcore/nio/src/main/java/java/nio/
H A DBaseByteBuffer.java65 public final char getChar(int index) { argument
66 return (char) getShort(index);
75 public final ByteBuffer putChar(int index, char value) { argument
76 return putShort(index, (short) value);
H A DDoubleArrayBuffer.java61 public final double get(int index) { argument
62 if (index < 0 || index >= limit) {
65 return backingArray[offset + index];
H A DFloatArrayBuffer.java61 public final float get(int index) { argument
62 if (index < 0 || index >= limit) {
65 return backingArray[offset + index];
H A DIntArrayBuffer.java61 public final int get(int index) { argument
62 if (index < 0 || index >= limit) {
65 return backingArray[offset + index];
H A DLongArrayBuffer.java61 public final long get(int index) { argument
62 if (index < 0 || index >= limit) {
65 return backingArray[offset + index];
H A DShortArrayBuffer.java61 public final short get(int index) { argument
62 if (index < 0 || index >= limit) {
65 return backingArray[offset + index];
/dalvik/libcore/regex/src/main/java/java/util/regex/
H A DPatternSyntaxException.java25 * expression, and the index at which the error occurred.
47 * Holds the index around which the error occured, or -1, in case it is
50 private int index = -1; field in class:PatternSyntaxException
54 * error index.
62 * @param index
63 * the character index around which the error occurred, or -1 if
64 * the index is not known.
66 public PatternSyntaxException(String description, String pattern, int index) { argument
69 this.index = index;
[all...]
/dalvik/libcore/security/src/main/java/java/security/cert/
H A DCertPathValidatorException.java29 * path instance that failed the validation and the index of the failed
42 * the index of the certificate.
44 private int index = -1; field in class:CertPathValidatorException
48 * message , cause, certification path and certificate index in the
57 * @param index
58 * the index of the failed certificate.
60 * if {@code certPath} is {@code null} and index is not {@code
63 * if {@code certPath} is not {@code null} and index is not
67 CertPath certPath, int index) {
69 // check certPath and index parameter
66 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index) argument
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
H A DASN1TypeCollection.java31 * @see <a href="http://asn1.elibel.tm.fr/en/standards/index.htm">ASN.1</a>
66 * @param index - an index of a component
68 protected final void setOptional(int index) { argument
69 OPTIONAL[index] = true;
77 * @param index - an index of a component
79 protected final void setDefault(Object object, int index) { argument
80 OPTIONAL[index] = true;
81 DEFAULT[index]
[all...]

Completed in 491 milliseconds

12345678