|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AddressQueue
AddressQueue
| Method Summary | |
|---|---|
void |
free()
Free the memory associated with this reference queue. |
void |
growQueue(int words)
Grows the queue to the specified size in words. |
Address |
peek()
Returns the first address from this queue, or null if the queue is empty. |
Address |
pull()
Returns and removes an address from this queue, or returns null if the queue is empty. |
void |
push(Address a)
Add the given address to the reference queue. |
int |
size()
Return the number of elements in this queue. |
int |
space()
Return the amount of free space (in words) in this queue. |
| Method Detail |
|---|
void free()
void growQueue(int words)
words - int size()
int space()
void push(Address a)
a - address to addAddress pull()
Address peek()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||