Searched defs:index (Results 26 - 50 of 131) sorted by relevance

123456

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DMethodLogger.java57 * Returns the method name stored at the given index.
59 public String getMethod(int index) { argument
60 return methods.get(index);
72 * Returns the argument array stored at the given index. May be empty, but
75 public Object[] getArgs(int index) { argument
76 return argLists.get(index);
/libcore/libart/src/main/java/java/lang/
H A DCaseMapper.java77 * True if 'index' is preceded by a sequence consisting of a cased letter and a case-ignorable
78 * sequence, and 'index' is not followed by a sequence consisting of an ignorable sequence and
81 private static boolean isFinalSigma(String s, int index) { argument
84 if (index <= 0) {
87 char previous = s.charAt(index - 1);
91 if (index + 1 >= s.length()) {
94 char next = s.charAt(index + 1);
102 * Return the index of the specified character into the upperValues table.
106 * @return the index into the upperValues table, or -1
109 int index
[all...]
/libcore/luni/src/main/java/org/w3c/dom/
H A DNamedNodeMap.java21 * also be accessed by an ordinal index, but this is simply to allow
86 * Returns the <code>index</code>th item in the map. If <code>index</code>
89 * @param index Index into this map.
90 * @return The node at the <code>index</code>th position in the map, or
91 * <code>null</code> if that is not a valid index.
93 public Node item(int index); argument
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DSelectionKeyImpl.java45 private int index; field in class:SelectionKeyImpl
64 return index;
68 index = i;
H A DMembershipKeyImpl.java106 private final int index; field in class:MembershipKeyImpl.Type6
114 int index,
119 this.index = index;
127 int index() { method in class:MembershipKeyImpl.Type6
128 return index;
109 Type6(MulticastChannel ch, InetAddress group, NetworkInterface interf, InetAddress source, byte[] groupAddress, int index, byte[] sourceAddress) argument
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DVertex.java53 private int index; field in class:Vertex
57 * Constructor; creates vertex with index of -1
58 * Use setIndex method to set another index.
64 this.index = -1;
77 * get the index for this vertex, where the index is the row of the
81 * @returns int index for this vertex, or -1 if no following certificates.
84 return index;
88 * set the index for this vertex, where the index i
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DGeneralNames.java88 public GeneralName get(int index) { argument
89 return names.get(index);
/libcore/luni/src/main/java/org/apache/harmony/xml/
H A DExpatAttributes.java48 public String getURI(int index) { argument
49 if (index < 0 || index >= getLength()) {
52 return getURI(getParserPointer(), getPointer(), index);
55 public String getLocalName(int index) { argument
56 return (index < 0 || index >= getLength())
58 : getLocalName(getParserPointer(), getPointer(), index);
61 public String getQName(int index) { argument
62 return (index <
67 getType(int index) argument
71 getValue(int index) argument
141 getURI(long pointer, long attributePointer, int index) argument
142 getLocalName(long pointer, long attributePointer, int index) argument
143 getQName(long pointer, long attributePointer, int index) argument
144 getValueByIndex(long attributePointer, int index) argument
[all...]
/libcore/luni/src/main/java/org/xml/sax/ext/
H A DAttributes2Impl.java82 public boolean isDeclared (int index) argument
84 if (index < 0 || index >= getLength ())
86 "No attribute at index: " + index);
87 return declared [index];
97 int index = getIndex (uri, localName);
99 if (index < 0)
103 return declared [index];
113 int index
130 isSpecified(int index) argument
263 removeAttribute(int index) argument
288 setDeclared(int index, boolean value) argument
307 setSpecified(int index, boolean value) argument
[all...]
/libcore/ojluni/src/main/java/java/net/
H A DInMemoryCookieStore.java62 // presence of cookie when retrieve one form index store.
334 // @param cookieIndex the index
336 // a cookie in index should be returned
343 for (T index : cookieIndex.keySet()) {
344 if ((index == comparator) || (index != null && comparator.compareTo(index) == 0)) {
345 List<HttpCookie> indexedCookies = cookieIndex.get(index);
361 } // end of comparator.compareTo(index) == 0
366 // add 'cookie' indexed by 'index' int
367 addIndex(Map<T, List<HttpCookie>> indexStore, T index, HttpCookie cookie) argument
[all...]
H A DNetworkInterface.java63 private int index; field in class:NetworkInterface
72 private static final int defaultIndex; /* index of defaultInterface */
99 * Returns an NetworkInterface object with index set to 0 and name to null.
107 NetworkInterface(String name, int index, InetAddress[] addrs) { argument
109 this.index = index;
241 * Returns the index of this network interface. The index is an integer greater
246 * @return the index of this network interface or {@code -1} if the index i
309 getByIndex(int index) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/
H A DStringCharBuffer.java76 public final char get(int index) { argument
77 return str.charAt(checkIndex(index) + offset);
80 char getUnchecked(int index) { argument
81 return str.charAt(index + offset);
90 public final CharBuffer put(int index, char c) { argument
H A DDoubleBuffer.java298 * index.
300 * @param index
301 * The index from which the double will be read
303 * @return The double at the given index
306 * If <tt>index</tt> is negative
309 public abstract double get(int index); argument
315 * index. </p>
317 * @param index
318 * The index at which the double will be written
326 * If <tt>index</t
332 put(int index, double d) argument
[all...]
/libcore/ojluni/src/main/java/java/security/cert/
H A DCertPathValidatorException.java43 * the index of the certificate in the certification path that caused the
67 * @serial the index of the certificate in the certification path
70 private int index = -1; field in class:CertPathValidatorException
134 * detail message, cause, certification path, and index.
140 * @param index the index of the certificate in the certification path
143 * @throws IndexOutOfBoundsException if the index is out of range
144 * {@code (index < -1 || (certPath != null && index >=
147 * {@code null} and {@code index} i
149 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index) argument
175 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, Reason reason) argument
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DCalendarBuilder.java55 public static final int ISO_DAY_OF_WEEK = 1000; // pseudo field index
68 CalendarBuilder set(int index, int value) { argument
69 if (index == ISO_DAY_OF_WEEK) {
70 index = DAY_OF_WEEK;
73 field[index] = nextStamp++;
74 field[MAX_FIELD + index] = value;
75 if (index > maxFieldIndex && index < FIELD_COUNT) {
76 maxFieldIndex = index;
87 boolean isSet(int index) { argument
94 clear(int index) argument
[all...]
H A DMergeCollation.java197 * @param index the offset of the desired pattern entry
200 public PatternEntry getItemAt(int index) { argument
201 return patterns.get(index);
314 int index = entry.chars.charAt(0) >> BYTEPOWER;
315 if ((statusArray[index] &
/libcore/ojluni/src/main/java/sun/security/util/
H A DBitArray.java70 * index zero in the BitArray. The array a must be large enough
127 public boolean get(int index) throws ArrayIndexOutOfBoundsException { argument
128 if (index < 0 || index >= length) {
129 throw new ArrayIndexOutOfBoundsException(Integer.toString(index));
132 return (repn[subscript(index)] & position(index)) != 0;
138 public void set(int index, boolean value) argument
140 if (index < 0 || index >
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DAbstractListTest.java40 public Object get(int index) { argument
41 return this.arrayList.get(index);
222 public E get(int index) { argument
223 return list.get(index);
H A DAbstractSequentialListTest.java46 public ListIterator<E> listIterator(int index) { argument
47 return l.listIterator(index);
154 public ListIterator listIterator(int index) {
187 public ListIterator listIterator(int index) {
238 public ListIterator listIterator(int index) {
258 public ListIterator listIterator(int index) {
311 public ListIterator listIterator(int index) {
312 currPos = index;
378 public ListIterator listIterator(int index) {
393 public ListIterator listIterator(int index) {
[all...]
/libcore/luni/src/main/java/libcore/net/
H A DUriCodec.java105 String uri, String name, char unexpected, int index) {
108 uri, "Unexpected character" + nameString + ": " + unexpected, index);
111 private static char getNextCharacter(String uri, int index, int end, String name) argument
113 if (index >= end) {
116 uri, "Unexpected end of string" + nameString, index);
118 return uri.charAt(index);
104 unexpectedCharacterException( String uri, String name, char unexpected, int index) argument
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DInnerNodeImpl.java74 if (parent == null || index + 1 >= parent.children.size()) {
78 return parent.children.get(index + 1);
100 return insertChildAt(newChild, refChildImpl.index);
104 * Inserts {@code newChild} at {@code index}. If it is already child of
107 Node insertChildAt(Node newChild, int index) throws DOMException { argument
111 insertChildAt(toAdd.item(i), index + i);
125 int oldIndex = toInsert.index;
130 children.add(index, toInsert);
132 refreshIndices(index);
170 children.get(i).index
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DAttributesImpl.java102 * @param index The attribute's index (zero-based).
104 * available, or null if the index is out of range.
107 public String getURI (int index)
109 if (index >= 0 && index < length) {
110 return data[index*5];
120 * @param index The attribute's index (zero-based).
122 * none is available, or null if the index i
105 getURI(int index) argument
123 getLocalName(int index) argument
141 getQName(int index) argument
159 getType(int index) argument
176 getValue(int index) argument
413 setAttribute(int index, String uri, String localName, String qName, String type, String value) argument
436 removeAttribute(int index) argument
466 setURI(int index, String uri) argument
486 setLocalName(int index, String localName) argument
506 setQName(int index, String qName) argument
525 setType(int index, String type) argument
544 setValue(int index, String value) argument
598 badIndex(int index) argument
[all...]
/libcore/ojluni/src/main/java/java/beans/
H A DPropertyChangeSupport.java351 * @param index the index of the property element that was changed
356 public void fireIndexedPropertyChange(String propertyName, int index, Object oldValue, Object newValue) { argument
358 firePropertyChange(new IndexedPropertyChangeEvent(source, propertyName, oldValue, newValue, index));
373 * @param index the index of the property element that was changed
378 public void fireIndexedPropertyChange(String propertyName, int index, int oldValue, int newValue) { argument
380 fireIndexedPropertyChange(propertyName, index, Integer.valueOf(oldValue), Integer.valueOf(newValue));
395 * @param index the index o
400 fireIndexedPropertyChange(String propertyName, int index, boolean oldValue, boolean newValue) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DStringBuilder.java151 * execution of the {@code append} method. Then the character at index
153 * index <i>k</i> in the old character sequence, if <i>k</i> is less than
154 * <i>n</i>; otherwise, it is equal to the character at index <i>k-n</i>
253 public StringBuilder deleteCharAt(int index) { argument
254 super.deleteCharAt(index);
271 public StringBuilder insert(int index, char[] str, int offset, argument
274 super.insert(index, str, offset, len);
/libcore/ojluni/src/main/java/java/lang/reflect/
H A DParameter.java51 private final int index; field in class:Parameter
64 * @param index The index of the parameter.
69 int index) {
73 this.index = index;
77 * Compares based on the executable and the index.
86 other.index == index);
93 * index
66 Parameter(String name, int modifiers, Executable executable, int index) argument
[all...]

Completed in 1342 milliseconds

123456