Searched refs:takeIndex (Results 1 – 1 of 1) sorted by relevance
100 int takeIndex; field in ArrayBlockingQueue169 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 …]