Lines Matching defs:add
41 * highly discouraged, to add objects to an {@code AttributeList} that are
43 * can be made <em>type-safe</em>, which means that an attempt to add
51 add(Attribute) method would then override add(E) in ArrayList<E>,
52 and our return value is void whereas ArrayList.add(E)'s is boolean.
149 * {@code AttributeList} instance, a subsequent attempt to add
174 public void add(Attribute object) {
175 super.add(object);
189 public void add(int index, Attribute object) {
191 super.add(index, object);
259 * Override all of the methods from ArrayList<Object> that might add
271 public boolean add(Object element) {
273 return super.add(element);
283 public void add(int index, Object element) {
285 super.add(index, element);