protected static final class ConcurrentArrayQueue.Block<E> extends Object
Modifier | Constructor and Description |
---|---|
protected |
ConcurrentArrayQueue.Block(int blockSize) |
Modifier and Type | Method and Description |
---|---|
Object[] |
arrayCopy() |
int |
head() |
boolean |
link(ConcurrentArrayQueue.Block<E> nextBlock) |
ConcurrentArrayQueue.Block<E> |
next() |
E |
peek(int index) |
boolean |
remove(int index,
Object item,
boolean updateHead) |
boolean |
store(int index,
E item) |
int |
tail() |
public E peek(int index)
public boolean store(int index, E item)
public boolean remove(int index, Object item, boolean updateHead)
public ConcurrentArrayQueue.Block<E> next()
public boolean link(ConcurrentArrayQueue.Block<E> nextBlock)
public int head()
public int tail()
public Object[] arrayCopy()
Copyright © 1995-2015 Webtide. All Rights Reserved.