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

Method hasheq

src/jvm/clojure/lang/APersistentSet.java:112–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110}
111
112public int hasheq(){
113 int cached = this._hasheq;
114 if(cached == 0){
115// int hash = 0;
116// for(ISeq s = seq(); s != null; s = s.next())
117// {
118// Object e = s.first();
119// hash += Util.hasheq(e);
120// }
121// this._hasheq = hash;
122 this._hasheq = cached = Murmur3.hashUnordered(this);
123 }
124 return cached;
125}
126
127public Object[] toArray(){
128 return RT.seqToArray(seq());

Callers

nothing calls this directly

Calls 1

hashUnorderedMethod · 0.95

Tested by

no test coverage detected