|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infoservice.agreement.common.FifoQueue
public class FifoQueue
Field Summary | |
---|---|
private java.lang.Object[] |
m_messages
An array for holding the messages. |
private int |
m_writeIndex
An index pointer. |
Constructor Summary | |
---|---|
FifoQueue()
|
Method Summary | |
---|---|
void |
clear()
Clears the stack. |
int |
getMessageCount()
Count the entries. |
java.lang.Object |
pop()
Get a message from the stack. |
void |
push(java.lang.Object a_message)
Push a message into the stack. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.Object[] m_messages
private int m_writeIndex
Constructor Detail |
---|
public FifoQueue()
Method Detail |
---|
public void push(java.lang.Object a_message)
a_message
- A message to push.public java.lang.Object pop()
public void clear()
public int getMessageCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |