Overrides Object#equals(Object) @param o the object to compare @return a boolean specifying equality
(Object o)
| 551 | * @return a boolean specifying equality |
| 552 | */ |
| 553 | @Override |
| 554 | public boolean equals(Object o) { |
| 555 | if (o == null) return false; |
| 556 | if (!(o instanceof Client)) return false; |
| 557 | |
| 558 | Client other = (Client) o; |
| 559 | if (!this.urls.equals(other.urls)) { |
| 560 | return false; |
| 561 | } |
| 562 | return Objects.equals(this.accessToken, other.accessToken); |
| 563 | } |
| 564 | |
| 565 | /** |
| 566 | * A builder class for creating client objects |
no outgoing calls