boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Suggestion result = (Suggestion)o; if (metrics != result.metrics) return false; if (word != null ? !word.equals(result.word) : result.word != null) return false; return true; }