Lines Matching defs:add
43 * {@link #add(int, Object) add(int, E)} and {@link #remove(int)} methods.
55 * {@link #add(int, Object) add(int, E)} and
85 * lists will refuse to add null elements, and others will impose
90 * <p>This implementation calls {@code add(size(), e)}.
94 * {@link #add(int, Object) add(int, E)} is overridden.
97 * @return {@code true} (as specified by {@link Collection#add})
98 * @throws UnsupportedOperationException if the {@code add} operation
107 public boolean add(E e) {
108 add(size(), e);
147 public void add(int index, E element) {
243 * using {@code add(int, E)}.
248 * {@link #add(int, Object) add(int, E)} is overridden.
260 add(index++, e);
309 * {@code get(int)}, {@code set(int, E)}, {@code add(int, E)}
314 * {@code remove}, {@code set} and {@code add} methods unless the
316 * {@code add(int, E)} methods are overridden.
433 public void add(E e) {
438 AbstractList.this.add(i, e);
461 * {@code add(int, E)}, {@code remove(int)}, {@code addAll(int,
586 * {@code set} or {@code add} operations. This provides
592 * merely has to increment this field in its {@code add(int, E)} and
595 * {@code add(int, E)} or {@code remove(int)} must add no more than
649 public void add(int index, E element) {
652 l.add(index+offset, element);
741 public void add(E e) {
742 i.add(e);