/** * Inserts the specified element at the end of this deque. * * <p> * This method is equivalent to {@link #offerLast}. * * @param e * the element to add * @return <tt>true</tt> (as specified by {@link Queue#offer}) * @throws NullPointerException * if the specified element is null */ public boolean offer(E e) { return offerLast(e); }