MCPcopy Index your code
hub / github.com/clojure/clojure / contains

Method contains

src/jvm/clojure/lang/APersistentMap.java:327–336  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

325 }
326
327 public boolean contains(Object o){
328 if(o instanceof Entry)
329 {
330 Entry e = (Entry) o;
331 Entry found = entryAt(e.getKey());
332 if(found != null && Util.equals(found.getValue(), e.getValue()))
333 return true;
334 }
335 return false;
336 }
337 };
338}
339

Callers

nothing calls this directly

Calls 5

equalsMethod · 0.95
entryAtMethod · 0.65
containsKeyMethod · 0.65
getKeyMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected