(Object o)
| 78 | // ----- Object methods ------------------------------------------------- |
| 79 | |
| 80 | @Override |
| 81 | public boolean equals(Object o) |
| 82 | { |
| 83 | if (! (o instanceof Address)) |
| 84 | { |
| 85 | return false; |
| 86 | } |
| 87 | Address other = (Address) o; |
| 88 | return getStreet().compareTo(other.getStreet()) == 0 && |
| 89 | getCity().compareTo(other.getCity()) == 0 && |
| 90 | getState().compareTo(other.getState()) == 0 && |
| 91 | getZipcode() == other.getZipcode(); |
| 92 | } |
| 93 | |
| 94 | @Override |
| 95 | public String toString() |
nothing calls this directly
no test coverage detected