Lines Matching defs:object

96      * Adds the specified object to this {@code TreeSet}.
98 * @param object
99 * the object to add.
101 * the object, {@code false} otherwise.
103 * when the object cannot be compared with the elements in this
106 * when the object is null and the comparator cannot handle
110 public boolean add(E object) {
111 return backingMap.put(object, Boolean.TRUE) == null;
122 * when an object in the collection cannot be compared with the
125 * when an object in the collection is null and the comparator
178 * Searches this {@code TreeSet} for the specified object.
180 * @param object
181 * the object to search for.
182 * @return {@code true} if {@code object} is an element of this
185 * when the object cannot be compared with the elements in this
188 * when the object is null and the comparator cannot handle
192 public boolean contains(Object object) {
193 return backingMap.containsKey(object);
217 * when the end object cannot be compared with the elements in
220 * when the end object is null and the comparator cannot handle
270 * Removes an occurrence of the specified object from this {@code TreeSet}.
272 * @param object
273 * the object to remove.
277 * when the object cannot be compared with the elements in this
280 * when the object is null and the comparator cannot handle
284 public boolean remove(Object object) {
285 return backingMap.remove(object) != null;
311 * when the start or end object cannot be compared with the
314 * when the start or end object is null and the comparator
342 * when the start object cannot be compared with the elements in
345 * when the start object is null and the comparator cannot