Lines Matching defs:object
29 * Adds the specified object to this set. The set is not modified if it
30 * already contains the object.
32 * @param object
33 * the object to add.
38 * when the class of the object is inappropriate for this set.
40 * when the object cannot be added to this set.
42 public boolean add(E object);
54 * when the class of an object is inappropriate for this set.
56 * when an object cannot be added to this set.
71 * Searches this set for the specified object.
73 * @param object
74 * the object to search for.
75 * @return {@code true} if object is an element of this set, {@code false}
78 public boolean contains(Object object);
91 * Compares the specified object to this set, and returns true if they
92 * represent the <em>same</em> object using a class specific comparison.
96 * @param object
97 * the object to compare with this object.
98 * @return boolean {@code true} if the object is the same as this object,
99 * and {@code false} if it is different from this object.
102 public boolean equals(Object object);
133 * Removes the specified object from this set.
135 * @param object
136 * the object to remove.
141 public boolean remove(Object object);