(Object o)
| 63 | // ----- Object methods ------------------------------------------------- |
| 64 | |
| 65 | @Override |
| 66 | public boolean equals(Object o) |
| 67 | { |
| 68 | if (! (o instanceof Customer)) |
| 69 | { |
| 70 | return false; |
| 71 | } |
| 72 | Customer other = (Customer) o; |
| 73 | return getId() == other.getId() && getName().compareTo(other.getName()) == 0 && |
| 74 | getAddress().equals(other.getAddress()); |
| 75 | } |
| 76 | |
| 77 | @Override |
| 78 | public int hashCode() |
nothing calls this directly
no test coverage detected