< prev index next >

src/java.base/share/classes/java/util/ArrayDeque.java

Print this page

        

*** 291,301 **** } /** * Inserts the specified element at the end of this deque. * ! * <p>This method is equivalent to {@link #add}. * * @param e the element to add * @throws NullPointerException if the specified element is null */ public void addLast(E e) { --- 291,301 ---- } /** * Inserts the specified element at the end of this deque. * ! * <p>This method is equivalent to {@link #add()}. * * @param e the element to add * @throws NullPointerException if the specified element is null */ public void addLast(E e) {
< prev index next >