Home
last modified time | relevance | path

Searched refs:takeIndex (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DArrayBlockingQueue.java100 int takeIndex; field in ArrayBlockingQueue
169 E x = (E) items[takeIndex]; in dequeue()
170 items[takeIndex] = null; in dequeue()
171 if (++takeIndex == items.length) takeIndex = 0; in dequeue()
189 if (removeIndex == takeIndex) { in removeAt()
191 items[takeIndex] = null; in removeAt()
192 if (++takeIndex == items.length) takeIndex = 0; in removeAt()
414 return itemAt(takeIndex); // null when queue is empty in peek()
485 int i = takeIndex; in remove()
516 int i = takeIndex; in contains()
[all …]