Searched refs:cursor (Results 1 – 11 of 11) sorted by relevance
334 int cursor = 0; field in AbstractList.Itr351 return cursor != size(); in hasNext()357 int i = cursor; in next()360 cursor = i + 1; in next()375 if (lastRet < cursor) in remove()376 cursor--; in remove()392 cursor = index; in ListItr()396 return cursor != 0; in hasPrevious()402 int i = cursor - 1; in previous()404 lastRet = cursor = i; in previous()[all …]
598 private int cursor = head; field in ArrayDeque.DeqIterator613 return cursor != fence; in hasNext()617 if (cursor == fence) in next()620 E result = (E) elements[cursor]; in next()625 lastRet = cursor; in next()626 cursor = (cursor + 1) & (elements.length - 1); in next()634 cursor = (cursor - 1) & (elements.length - 1); in remove()644 int m = a.length - 1, f = fence, i = cursor; in forEachRemaining()645 cursor = f; in forEachRemaining()665 private int cursor = tail; field in ArrayDeque.DescendingIterator[all …]
820 int cursor; // index of next element to return field in ArrayList.Itr825 return cursor < limit; in hasNext()832 int i = cursor; in next()838 cursor = i + 1; in next()850 cursor = lastRet; in remove()864 int i = cursor; in forEachRemaining()876 cursor = i; in forEachRemaining()890 cursor = index; in ListItr()894 return cursor != 0; in hasPrevious()898 return cursor; in nextIndex()[all …]
1132 int cursor; // index of next element to return field in Itr1137 return cursor < limit; in hasNext()1143 int i = cursor; in next()1146 cursor = i + 1; in next()1160 cursor = lastRet; in remove()1169 int i = cursor; in forEachRemaining()1182 cursor = i; in forEachRemaining()1200 cursor = index; in ListItr()1204 return cursor != 0; in hasPrevious()1208 return cursor; in nextIndex()[all …]
492 private int cursor; field in PriorityQueue.Itr528 return cursor < size || in hasNext()536 if (cursor < size) in next()537 return (E) queue[lastRet = cursor++]; in next()554 cursor--; in remove()
2538 private int cursor; field in Formatter.FormatSpecifierParser2552 cursor = startIdx; in FormatSpecifierParser()2595 int strBegin = cursor; in nextInt()2599 return format.substring(strBegin, cursor); in nextInt()2610 return format.charAt(cursor); in peek()2617 return format.charAt(cursor++); in advance()2621 cursor -= len; in back()2625 return cursor == format.length(); in isEnd()2633 return cursor; in getEndIdx()
949 private int cursor; field in ArrayBlockingQueue.Itr989 cursor = NONE; in Itr()996 cursor = incCursor(takeIndex); in Itr()1067 if (invalidated(cursor, prevTakeIndex, dequeues, len)) in incorporateDequeues()1068 cursor = takeIndex; in incorporateDequeues()1070 if (cursor < 0 && nextIndex < 0 && lastRet < 0) in incorporateDequeues()1150 final int cursor = this.cursor; in next() local1151 if (cursor >= 0) { in next()1152 nextItem = itemAt(nextIndex = cursor); in next()1154 this.cursor = incCursor(cursor); in next()[all …]
505 int cursor; // index of next element to return field in DelayQueue.Itr514 return cursor < array.length; in hasNext()519 if (cursor >= array.length) in next()521 lastRet = cursor; in next()522 return (E)array[cursor++]; in next()
834 int cursor; // index of next element to return field in PriorityBlockingQueue.Itr843 return cursor < array.length; in hasNext()847 if (cursor >= array.length) in next()849 lastRet = cursor; in next()850 return (E)array[cursor++]; in next()
1267 int cursor; // index of next element to return; initially 0 field in ScheduledThreadPoolExecutor.DelayedWorkQueue.Itr1275 return cursor < array.length; in hasNext()1279 if (cursor >= array.length) in next()1281 lastRet = cursor; in next()1282 return array[cursor++]; in next()
587 description: "no exception is thrown when moving cursor backwards on forward only statement",630 …n: "Second block first assertion fails. Is Last should evaluate true if the row on which the cursor