boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; HierarchySearchKey key = (HierarchySearchKey)o; return mySearchType == key.mySearchType && mySearchFileType == key.mySearchFileType; }