Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DArrayBlockingQueue.java110 int putIndex; field in ArrayBlockingQueue
184 items[putIndex] = e; in enqueue()
185 if (++putIndex == items.length) putIndex = 0; in enqueue()
232 for (int i = removeIndex, putIndex = this.putIndex;;) { in removeAt()
235 if (i == putIndex) { in removeAt()
237 this.putIndex = pred; in removeAt()
311 putIndex = (i == capacity) ? 0 : i; in ArrayBlockingQueue()
517 for (int i = takeIndex, end = putIndex, in remove()
549 for (int i = takeIndex, end = putIndex, in contains()
584 if (end != putIndex) in toArray()
[all …]