(Object o)
| 73 | } |
| 74 | |
| 75 | public 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 | |
| 86 | public int hashCode(){ |
| 87 | return Util.hashCombine(name.hashCode(), Util.hash(ns)); |