Returns whether this tool and another have the same name. @return Whether this tool and another have the same name.
(Object o)
| 177 | * @return Whether this tool and another have the same name. |
| 178 | */ |
| 179 | @Override |
| 180 | public boolean equals(Object o) { |
| 181 | return o instanceof Tool other && compareTo(other)==0; |
| 182 | } |
| 183 | |
| 184 | |
| 185 | /** |
no test coverage detected