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

Method hashCode

src/jvm/clojure/lang/ASeq.java:72–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 5

binForMethod · 0.45
hashMethod · 0.45
hasheqMethod · 0.45
hasheqFromMethod · 0.45
hasheqMethod · 0.45

Calls 3

seqMethod · 0.95
nextMethod · 0.95
firstMethod · 0.95

Tested by

no test coverage detected