Lines Matching defs:object

29      * Inserts the specified object into this {@code List} at the specified location.
30 * The object is inserted before the current element at the specified
31 * location. If the location is equal to the size of this {@code List}, the object
38 * @param object
39 * the object to add.
43 * if the class of the object is inappropriate for this
46 * if the object cannot be added to this {@code List}.
50 public void add(int location, E object);
53 * Adds the specified object at the end of this {@code List}.
55 * @param object
56 * the object to add.
61 * if the class of the object is inappropriate for this
64 * if the object cannot be added to this {@code List}.
66 public boolean add(E object);
82 * if the class of an object is inappropriate for this
85 * if an object cannot be added to this {@code List}.
103 * if the class of an object is inappropriate for this
106 * if an object cannot be added to this {@code List}.
121 * Tests whether this {@code List} contains the specified object.
123 * @param object
124 * the object to search for.
125 * @return {@code true} if object is an element of this {@code List}, {@code false}
128 public boolean contains(Object object);
142 * Compares the given object with the {@code List}, and returns true if they
143 * represent the <em>same</em> object using a class specific comparison. For
147 * @param object
148 * the object to compare with this object.
149 * @return boolean {@code true} if the object is the same as this object,
150 * and {@code false} if it is different from this object.
153 public boolean equals(Object object);
175 * Searches this {@code List} for the specified object and returns the index of the
178 * @param object
179 * the object to search for.
180 * @return the index of the first occurrence of the object or -1 if the
181 * object was not found.
183 public int indexOf(Object object);
204 * Searches this {@code List} for the specified object and returns the index of the
207 * @param object
208 * the object to search for.
209 * @return the index of the last occurrence of the object, or -1 if the
210 * object was not found.
212 public int lastIndexOf(Object object);
239 * Removes the object at the specified location from this {@code List}.
242 * the index of the object to remove.
243 * @return the removed object.
252 * Removes the first occurrence of the specified object from this {@code List}.
254 * @param object
255 * the object to remove.
261 public boolean remove(Object object);
264 * Removes all occurrences in this {@code List} of each object in the specified
289 * specified object. This operation does not change the size of the {@code List}.
292 * the index at which to put the specified object.
293 * @param object
294 * the object to insert.
299 * if the class of an object is inappropriate for this
302 * if an object cannot be added to this {@code List}.
306 public E set(int location, E object);