Lines Matching refs:object
115 * Compares the specified object to this instance, and returns {@code true}
116 * if the specified object is a map and both maps contain the same mappings.
118 * @param object
119 * the object to compare with this object.
120 * @return boolean {@code true} if the object is the same as this object,
121 * and {@code false} if it is different from this object.
126 public boolean equals(Object object) {
127 if (this == object) {
130 if (object instanceof Map) {
131 Map<?, ?> map = (Map<?, ?>) object;
188 * Returns the hash code for this object. Objects which are equal must
191 * @return the hash code of this object.
226 public boolean contains(Object object) {
227 return containsKey(object);
391 * "wrapper object" over the iterator of map's entrySet(). The {@code size}
411 public boolean contains(Object object) {
412 return containsValue(object);
443 * @return a shallow copy of this object.