Build 1.0_r1(from source)

java.util.concurrent
Class SynchronousQueue.FifoWaitQueue

java.lang.Object
  extended by java.util.concurrent.SynchronousQueue.WaitQueue
      extended by java.util.concurrent.SynchronousQueue.FifoWaitQueue
All Implemented Interfaces:
Serializable
Enclosing class:
SynchronousQueue<E>

static final class SynchronousQueue.FifoWaitQueue
extends SynchronousQueue.WaitQueue
implements Serializable

FIFO queue to hold waiting puts/takes.


Constructor Summary
SynchronousQueue.FifoWaitQueue()
           
 
Method Summary
(package private)  SynchronousQueue.Node deq()
          Remove and return node, or null if empty
(package private)  SynchronousQueue.Node enq(Object x)
          Create, add, and return node for x
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousQueue.FifoWaitQueue

SynchronousQueue.FifoWaitQueue()
Method Detail

enq

SynchronousQueue.Node enq(Object x)
Description copied from class: SynchronousQueue.WaitQueue
Create, add, and return node for x

Specified by:
enq in class SynchronousQueue.WaitQueue

deq

SynchronousQueue.Node deq()
Description copied from class: SynchronousQueue.WaitQueue
Remove and return node, or null if empty

Specified by:
deq in class SynchronousQueue.WaitQueue

Build 1.0_r1(from source)

Please submit a feedback, bug or feature