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

Method contains

src/jvm/clojure/lang/PersistentQueue.java:242–249  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

240}
241
242public boolean contains(Object o){
243 for(ISeq s = seq(); s != null; s = s.next())
244 {
245 if(Util.equiv(s.first(), o))
246 return true;
247 }
248 return false;
249}
250
251public Iterator iterator(){
252 return new Iterator(){

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