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

Method hasheq

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

Source from the content-addressed store, hash-verified

86}
87
88public int hasheq() {
89 int cached = this._hasheq;
90 if(cached == 0)
91 {
92// int hash = 1;
93// for(ISeq s = seq(); s != null; s = s.next())
94// {
95// hash = 31 * hash + Util.hasheq(s.first());
96// }
97// this._hasheq = hash;
98 this._hasheq = cached = Murmur3.hashOrdered(this);
99 }
100 return cached;
101}
102
103public Object peek(){
104 return RT.first(f);

Callers

nothing calls this directly

Calls 1

hashOrderedMethod · 0.95

Tested by

no test coverage detected