@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof PokemonData)) return false; PokemonData pkm = (PokemonData) o; return this.hashCode() == pkm.hashCode(); }