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

Method contains

src/jvm/clojure/lang/LazySeq.java:223–230  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

221}
222
223public boolean contains(Object o){
224 for(ISeq s = seq(); s != null; s = s.next())
225 {
226 if(Util.equiv(s.first(), o))
227 return true;
228 }
229 return false;
230}
231
232public Iterator iterator(){
233 return new SeqIterator(this);

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