Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.util 6.8.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.openide.util
Class Queue

    java.lang.Object
      org.openide.util.Queue

    public class Queue

extends Object

Queue of objects. When there is no object in the queue the process is suspended till some arrives.

Constructor Summary
`Queue()`

Method Summary
`Object` | `get()` Gets an object from the queue.
`void` | `put(Object o)` Adds new item.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Queue

    public Queue()

Method Detail

### put

    public void put(Object o)

  Adds new item.

  Parameters:
    `o` - object to add

### get

    public Object get()

  Gets an object from the queue. If there is no such object the thread is suspended until some object arrives

  Returns:
    object from the queue

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.util 6.8.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.