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

Method contains

src/jvm/clojure/asm/Attribute.java:305–312  ·  view source on GitHub ↗
(final Attribute attribute)

Source from the content-addressed store, hash-verified

303 }
304
305 private boolean contains(final Attribute attribute) {
306 for (int i = 0; i < size; ++i) {
307 if (data[i].type.equals(attribute.type)) {
308 return true;
309 }
310 }
311 return false;
312 }
313
314 private void add(final Attribute attribute) {
315 if (size >= data.length) {

Callers 2

containsMethod · 0.95
addAttributesMethod · 0.95

Implementers 1

APersistentSetsrc/jvm/clojure/lang/APersistentSet.ja

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected