boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Selector selector = (Selector)o; if (!myName.equals(selector.myName)) return false; if (!myPath.equals(selector.myPath)) return false; return true; }