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.java103 int putIndex; field in ArrayBlockingQueue
154 items[putIndex] = x; in enqueue()
155 if (++putIndex == items.length) putIndex = 0; in enqueue()
200 for (int i = removeIndex, putIndex = this.putIndex;;) { in removeAt()
203 if (i == putIndex) { in removeAt()
205 this.putIndex = pred; in removeAt()
278 putIndex = (i == capacity) ? 0 : i; in ArrayBlockingQueue()
484 final int putIndex = this.putIndex; in remove() local
492 } while (i != putIndex); in remove()
515 final int putIndex = this.putIndex; in contains() local
[all …]