public boolean equals(Object o) {
        if (!(o instanceof AddressImpl)) {
            return false;
        } else {
            AddressImpl address = (AddressImpl) o;
            if (street.equals(address.street) && city.equals(address.city)
                    && state.equals(address.state)
                    && zipCode.equals(address.zipCode)) {
                return true;
            }
            return false;
        }
    }