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

Method hashCode

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

Source from the content-addressed store, hash-verified

146}
147
148public int hashCode(){
149 int hash = this._hash;
150 if(hash == 0)
151 {
152 hash = 1;
153 for(int i = 0;i<count();i++)
154 {
155 Object obj = nth(i);
156 hash = 31 * hash + (obj == null ? 0 : obj.hashCode());
157 }
158 this._hash = hash;
159 }
160 return hash;
161}
162
163public int hasheq(){
164 int hash = this._hasheq;

Callers 1

doEqualsMethod · 0.45

Calls 2

nthMethod · 0.95
countMethod · 0.65

Tested by

no test coverage detected