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

Method hashCode

src/jvm/clojure/lang/PersistentQueue.java:74–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74public int hashCode(){
75 int hash = this._hash;
76 if(hash == 0)
77 {
78 hash = 1;
79 for(ISeq s = seq(); s != null; s = s.next())
80 {
81 hash = 31 * hash + (s.first() == null ? 0 : s.first().hashCode());
82 }
83 this._hash = hash;
84 }
85 return hash;
86}
87
88public int hasheq() {
89 int cached = this._hasheq;

Callers

nothing calls this directly

Calls 3

seqMethod · 0.95
nextMethod · 0.95
firstMethod · 0.95

Tested by

no test coverage detected