MCPcopy Create free account
hub / github.com/davidgiven/luje / contains

Method contains

lib/java/util/HashSet.java:133–136  ·  view source on GitHub ↗

Searches this HashSet for the specified object. @param object the object to search for. @return true if object is an element of this HashSet, false otherwise.

(Object object)

Source from the content-addressed store, hash-verified

131 * {@code HashSet}, {@code false} otherwise.
132 */
133 @Override
134 public boolean contains(Object object) {
135 return backingMap.containsKey(object);
136 }
137
138 /**
139 * Returns true if this {@code HashSet} has no elements, false otherwise.

Callers

nothing calls this directly

Calls 1

containsKeyMethod · 0.65

Tested by

no test coverage detected