/libcore/ojluni/src/main/java/java/util/ |
D | ArrayDeque.java | 605 private int cursor = head; field in ArrayDeque.DeqIterator 620 return cursor != fence; in hasNext() 624 if (cursor == fence) in next() 627 E result = (E) elements[cursor]; in next() 632 lastRet = cursor; in next() 633 cursor = (cursor + 1) & (elements.length - 1); in next() 641 cursor = (cursor - 1) & (elements.length - 1); in remove() 651 int m = a.length - 1, f = fence, i = cursor; in forEachRemaining() 652 cursor = f; in forEachRemaining() 672 private int cursor = tail; field in ArrayDeque.DescendingIterator [all …]
|
D | ArrayList.java | 849 int cursor; // index of next element to return field in ArrayList.Itr 854 return cursor < limit; in hasNext() 861 int i = cursor; in next() 867 cursor = i + 1; in next() 879 cursor = lastRet; in remove() 893 int i = cursor; in forEachRemaining() 905 cursor = i; in forEachRemaining() 919 cursor = index; in ListItr() 923 return cursor != 0; in hasPrevious() 927 return cursor; in nextIndex() [all …]
|
D | AbstractList.java | 347 int cursor = 0; field in AbstractList.Itr 364 return cursor != size(); in hasNext() 370 int i = cursor; in next() 373 cursor = i + 1; in next() 388 if (lastRet < cursor) in remove() 389 cursor--; in remove() 405 cursor = index; in ListItr() 409 return cursor != 0; in hasPrevious() 415 int i = cursor - 1; in previous() 417 lastRet = cursor = i; in previous() [all …]
|
D | Vector.java | 1135 int cursor; // index of next element to return field in Itr 1142 return cursor < limit; in hasNext() 1148 int i = cursor; in next() 1153 cursor = i + 1; in next() 1168 cursor = lastRet; in remove() 1179 int i = cursor; in forEachRemaining() 1192 cursor = i; in forEachRemaining() 1210 cursor = index; in ListItr() 1214 return cursor != 0; in hasPrevious() 1218 return cursor; in nextIndex() [all …]
|
D | ImmutableCollections.java | 218 private int cursor; field in ImmutableCollections.ListItr 223 this.cursor = 0; in ListItr() 230 this.cursor = index; in ListItr() 235 return cursor != size; in hasNext() 240 int i = cursor; in next() 242 cursor = i + 1; in next() 257 return cursor != 0; in hasPrevious() 265 int i = cursor - 1; in previous() 267 cursor = i; in previous() 278 return cursor; in nextIndex() [all …]
|
D | PriorityQueue.java | 492 private int cursor; field in PriorityQueue.Itr 528 return cursor < size || in hasNext() 536 if (cursor < size) in next() 537 return (E) queue[lastRet = cursor++]; in next() 554 cursor--; in remove()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | DelayQueue.java | 534 int cursor; // index of next element to return field in DelayQueue.Itr 543 return cursor < array.length; in hasNext() 548 if (cursor >= array.length) in next() 550 lastRet = cursor; in next() 551 return (E)array[cursor++]; in next()
|
D | CopyOnWriteArrayList.java | 1063 private int cursor; field in CopyOnWriteArrayList.COWIterator 1066 cursor = initialCursor; in COWIterator() 1071 return cursor < snapshot.length; in hasNext() 1075 return cursor > 0; in hasPrevious() 1082 return (E) snapshot[cursor++]; in next() 1089 return (E) snapshot[--cursor]; in previous() 1093 return cursor; in nextIndex() 1097 return cursor-1; in previousIndex() 1132 for (int i = cursor; i < size; i++) { in forEachRemaining() 1135 cursor = size; in forEachRemaining()
|
D | PriorityBlockingQueue.java | 863 int cursor; // index of next element to return field in PriorityBlockingQueue.Itr 872 return cursor < array.length; in hasNext() 876 if (cursor >= array.length) in next() 878 lastRet = cursor; in next() 879 return (E)array[cursor++]; in next()
|
D | ScheduledThreadPoolExecutor.java | 1296 int cursor; // index of next element to return; initially 0 field in ScheduledThreadPoolExecutor.DelayedWorkQueue.Itr 1304 return cursor < array.length; in hasNext() 1308 if (cursor >= array.length) in next() 1310 lastRet = cursor; in next() 1311 return array[cursor++]; in next()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | ArrayDeque.java | 248 private int cursor; field in ArrayDeque.DeqIterator 316 private int cursor; field in ArrayDeque.DescendingIterator
|
D | PriorityQueue.java | 222 private int cursor; field in PriorityQueue.Itr
|
D | Vector.java | 311 int cursor; field in Vector.Itr
|
D | ArrayList.java | 307 int cursor; field in ArrayList.Itr
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigInteger.java | 418 int cursor = 0, numDigits; in BigInteger() local 435 cursor = 1; in BigInteger() 440 cursor = 1; in BigInteger() 442 if (cursor == len) in BigInteger() 446 while (cursor < len && in BigInteger() 447 Character.digit(val.charAt(cursor), radix) == 0) { in BigInteger() 448 cursor++; in BigInteger() 451 if (cursor == len) { in BigInteger() 457 numDigits = len - cursor; in BigInteger() 473 String group = val.substring(cursor, cursor += firstGroupLen); in BigInteger() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | PriorityBlockingQueue.java | 264 int cursor; field in PriorityBlockingQueue.Itr
|
D | CopyOnWriteArrayList.java | 322 private int cursor; field in CopyOnWriteArrayList.COWIterator
|
/libcore/expectations/ |
D | knownfailures.txt | 595 description: "no exception is thrown when moving cursor backwards on forward only statement", 638 …n: "Second block first assertion fails. Is Last should evaluate true if the row on which the cursor
|