Constructor and Description |
---|
HugeQueueImpl(HugeArray<T> tHugeArray,
long size) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
boolean |
isFull() |
T |
offer()
Add to the end of a queue or return false if full.
|
boolean |
offer(T element)
Add to the end of a queue or return false if full.
|
void |
recycle(T element)
Recycle an element reference.
|
T |
take() |
boolean |
takeCopy(T element)
Copy data to an element
|
public boolean offer(T element)
HugeQueue
public T take()
public boolean takeCopy(T element)
HugeQueue
public T offer()
HugeQueue
Copyright © 2019. All rights reserved.