return this.getAmmoType() == ( (AmmoType) other ).getAmmoType();
return (this.getAmmoType() == ( (AmmoType) other ).getAmmoType() && this.getRackSize() == ((AmmoType)other).getRackSize());
    public boolean equals( Object other ) {        if ( !(other instanceof AmmoType) ) {            return false;        }        return this.getAmmoType() == ( (AmmoType) other ).getAmmoType();    }