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

Method contains

src/jvm/clojure/lang/APersistentVector.java:481–488  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

479}
480
481public boolean contains(Object o){
482 for(ISeq s = seq(); s != null; s = s.next())
483 {
484 if(Util.equiv(s.first(), o))
485 return true;
486 }
487 return false;
488}
489
490public int length(){
491 return count();

Callers 1

containsAllMethod · 0.95

Calls 4

seqMethod · 0.95
nextMethod · 0.95
equivMethod · 0.95
firstMethod · 0.95

Tested by

no test coverage detected