MCPcopy Create free account
hub / github.com/ReadyTalk/avian / contains

Method contains

classpath/java/util/LinkedHashMap.java:112–115  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

110 }
111
112 public boolean contains(Object o) {
113 return (o instanceof Entry<?,?>)
114 && containsKey(((Entry<?,?>)o).getKey());
115 }
116
117 public boolean add(Entry<K, V> e) {
118 return put(e.getKey(), e.getValue()) != null;

Callers

nothing calls this directly

Calls 2

containsKeyMethod · 0.65
getKeyMethod · 0.65

Tested by

no test coverage detected