99100101102103104105106107108109
if (!(o instanceof Datum)) { return (false); } Datum d = (Datum) o; return features.equals(d.asFeatures()); } @Override public int hashCode() { return features.hashCode();