cnrg.itx.datax.jaudio
Class Queue

java.lang.Object
  |
  +--cnrg.itx.datax.jaudio.Queue

class Queue
extends java.lang.Object

Queue Class


Field Summary
(package private)  QueueElement mHead
           
(package private)  int mNumElements
           
(package private)  QueueElement mTail
           
 
Constructor Summary
(package private) Queue()
           
 
Method Summary
 void Close()
          Close() --> Wakes up any thread waiting on the queue.
 boolean IsEmpty()
          IsEmpty()
 java.lang.Object Pop()
          Pop()
 boolean Push(java.lang.Object obj)
          Push() <>
 boolean Push(QueueElement obj)
          Push() - <>
 int Size()
          Size()
 java.lang.Object WaitAndPop()
          WaitAndPop()
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

mHead

QueueElement mHead

mTail

QueueElement mTail

mNumElements

int mNumElements
Constructor Detail

Queue

Queue()
Method Detail

WaitAndPop

public java.lang.Object WaitAndPop()
WaitAndPop()

Push

public boolean Push(QueueElement obj)
Push() - <>

Push

public boolean Push(java.lang.Object obj)
Push() <>

Pop

public java.lang.Object Pop()
Pop()

IsEmpty

public boolean IsEmpty()
IsEmpty()

Size

public int Size()
Size()

Close

public void Close()
Close() --> Wakes up any thread waiting on the queue.