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

Method hasheq

src/jvm/clojure/lang/APersistentVector.java:163–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161}
162
163public int hasheq(){
164 int hash = this._hasheq;
165 if(hash == 0) {
166 int n;
167 hash = 1;
168
169 for(n=0;n<count();++n)
170 {
171 hash = 31 * hash + Util.hasheq(nth(n));
172 }
173
174 this._hasheq = hash = Murmur3.mixCollHash(hash, n);
175 }
176 return hash;
177}
178
179public Object get(int index){
180 return nth(index);

Callers

nothing calls this directly

Calls 4

hasheqMethod · 0.95
nthMethod · 0.95
mixCollHashMethod · 0.95
countMethod · 0.65

Tested by

no test coverage detected