@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        final WordCount other = (WordCount) obj;
        return Objects.equal(this.word, other.word);
    }