|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - public interface InternalQueue<E>
Interface implemented by the internal queues.
| Method Summary | |
|---|---|
int |
drainTo(Collection<? super E> c)
Drain items from this queue to the specified collection |
int |
drainTo(Collection<? super E> c,
int maxElements)
Drain items from this queue to the specified collection |
int |
getCapacity()
Return the capacity of the queue |
Condition |
getNotFullCond()
Get not full condition |
int |
getPriority()
Get the Priority of the queue |
int |
remainingCapacity()
Remaining capacity of the queue. |
void |
setNotFullCond(Condition condition)
Get not full condition |
void |
setPriority(int p)
Set the priority |
| Methods inherited from interface java.util.Queue |
|---|
element, offer, peek, poll, remove |
| Methods inherited from interface java.util.Collection |
|---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Method Detail |
|---|
int getPriority()
void setPriority(int p)
p - priorityCondition getNotFullCond()
void setNotFullCond(Condition condition)
condition - conditionint drainTo(Collection<? super E> c)
c - collection to add item
int drainTo(Collection<? super E> c,
int maxElements)
c - collection to add itemmaxElements - maximum number of element to drain
int remainingCapacity()
int getCapacity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||