Previous:
SharedQueue class-instance creation
, Up:
SharedQueue
1.149.2 SharedQueue: accessing
isEmpty
Answer whether there is an object on the queue
next
Wait for an object to be on the queue, then remove it and answer it
nextPut: value
Put value on the queue and answer it
peek
Wait for an object to be on the queue if necessary, then answer the same object that #next would answer without removing it.