Class Queue<T>

java.lang.Object
org.openide.util.Queue<T>

@Deprecated public class Queue<T> extends Object
Deprecated.
Use BlockingQueue instead.
Queue of objects. When there is no object in the queue the process is suspended till some arrives. Implementation appears to be LIFO.
  • Constructor Details

    • Queue

      public Queue()
      Deprecated.
  • Method Details

    • put

      public void put(T o)
      Deprecated.
      Adds new item.
      Parameters:
      o - object to add
    • get

      public T get()
      Deprecated.
      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