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

Method entrySet

src/jvm/clojure/lang/APersistentMap.java:312–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310}
311
312public Set entrySet(){
313 return new AbstractSet(){
314
315 public Iterator iterator(){
316 return APersistentMap.this.iterator();
317 }
318
319 public int size(){
320 return count();
321 }
322
323 public int hashCode(){
324 return APersistentMap.this.hashCode();
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
340public Object get(Object key){
341 return valAt(key);

Callers 15

createMethod · 0.45
createMethod · 0.45
CompilerClass · 0.45
emitValueMethod · 0.45
emitMethodsMethod · 0.45
gatherMethodsMethod · 0.45
findMethodsWithNameMethod · 0.45
parseMethod · 0.45
createMethod · 0.45
clearCacheMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected