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

Method equals

src/jvm/clojure/lang/Symbol.java:75–84  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

73}
74
75public boolean equals(Object o){
76 if(this == o)
77 return true;
78 if(!(o instanceof Symbol))
79 return false;
80
81 Symbol symbol = (Symbol) o;
82
83 return Util.equals(ns,symbol.ns) && name.equals(symbol.name);
84}
85
86public int hashCode(){
87 return Util.hashCombine(name.hashCode(), Util.hash(ns));

Callers 4

compareToMethod · 0.95
parseMethod · 0.95
invokeMethod · 0.95
internMethod · 0.45

Calls 1

equalsMethod · 0.95

Tested by

no test coverage detected