April 05
Prde. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Métodos de Queue
npublic interface Queue<E> extends Collection<E> {
n  boolean add( E e );       // throws exception if the operation fails
n boolean offer( E e );      // returns a special value (null or false)
n
n  E remove();                    // throws exception
n  E poll();                           // returns a special value (null or false)
n
n  E element();                   // throws exception
n  E peek();                         // returns a special value (null or false)
n}
n
nBounded Queues – restringem o numero de elementos da Queue. Ocorrem em java.util.concurrent
target =
"_self" - show in the current frame
"_parent" - show in the parent frame
"_top" - show in the topmost frame
"_blank" - show in a new unnamed top-level window
name - show in a new top-level window named name