|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.tor.CellQueue
final class CellQueue
| Nested Class Summary | |
|---|---|
(package private) class |
CellQueue.CellQueueEntry
|
| Field Summary | |
|---|---|
private CellQueue.CellQueueEntry |
m_firstEntry
|
private int |
m_iSize
|
private CellQueue.CellQueueEntry |
m_lastEntry
|
| Constructor Summary | |
|---|---|
CellQueue()
Constructor for the cellqueue |
|
| Method Summary | |
|---|---|
void |
addElement(Cell c)
Adds a cell to the cellqueue |
boolean |
isEmpty()
returns if the queue contains an element |
Cell |
removeElement()
returns the first element of the queue |
int |
size()
Returns the number of Cells stored in the queue at the moment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private CellQueue.CellQueueEntry m_firstEntry
private CellQueue.CellQueueEntry m_lastEntry
private int m_iSize
| Constructor Detail |
|---|
public CellQueue()
| Method Detail |
|---|
public void addElement(Cell c)
c - Cellpublic Cell removeElement()
public int size()
public boolean isEmpty()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||