# | Line 27 | Line 27 | public abstract class AbstractQueue<E> | |
---|---|---|
27 | // so we redefine each optional method to document that it is not optional | |
28 | // We also inherit, or define, all necessary @throws comments | |
29 | ||
30 | < | /** |
31 | < | * @throws NullPointerException if the specified element is <tt>null</tt> |
32 | < | */ |
33 | < | public abstract boolean offer(E o); |
30 | > | // /** |
31 | > | // * @throws NullPointerException if the specified element is <tt>null</tt> |
32 | > | // */ |
33 | > | // public abstract boolean offer(E o); |
34 | ||
35 | /** | |
36 | * Adds the specified element to this queue. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |