| Modifier and Type | Field and Description |
|---|---|
| protected final AtomicReferenceArray | |
| protected final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final int | |
| protected final int | |
| public void | clear()
Overrides java. Implements java. |
| public Iterator | iterator()
Implements abstract java. Implements java. |
| protected final E | |
| protected final E | |
| protected final E | |
| protected final E | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void |
| buffer | back to summary |
|---|---|
| protected final AtomicReferenceArray<E> buffer | |
| mask | back to summary |
|---|---|
| protected final int mask | |
| AtomicReferenceArrayQueue | back to summary |
|---|---|
| public AtomicReferenceArrayQueue(int capacity) | |
| calcElementOffset | back to summary |
|---|---|
| protected final int calcElementOffset(long index, int mask) | |
| calcElementOffset | back to summary |
|---|---|
| protected final int calcElementOffset(long index) | |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Removes all of the elements from this queue. The queue will be empty after this call returns. This implementation repeatedly invokes
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements in this collection. There are no guarantees concerning the order in which the elements are returned (unless this collection is an instance of some class that provides a guarantee). | |
| lpElement | back to summary |
|---|---|
| protected final E lpElement(AtomicReferenceArray<E> buffer, int offset) | |
| lpElement | back to summary |
|---|---|
| protected final E lpElement(int offset) | |
| lvElement | back to summary |
|---|---|
| protected final E lvElement(AtomicReferenceArray<E> buffer, int offset) | |
| lvElement | back to summary |
|---|---|
| protected final E lvElement(int offset) | |
| soElement | back to summary |
|---|---|
| protected final void soElement(AtomicReferenceArray<E> buffer, int offset, E value) | |
| soElement | back to summary |
|---|---|
| protected final void soElement(int offset, E value) | |
| spElement | back to summary |
|---|---|
| protected final void spElement(AtomicReferenceArray<E> buffer, int offset, E value) | |
| spElement | back to summary |
|---|---|
| protected final void spElement(int offset, E value) | |
| svElement | back to summary |
|---|---|
| protected final void svElement(AtomicReferenceArray<E> buffer, int offset, E value) | |