Returns true if the param o is a McastMember with the same name @param o The object to test for equality
(Object o)
| 603 | * @param o The object to test for equality |
| 604 | */ |
| 605 | @Override |
| 606 | public boolean equals(Object o) { |
| 607 | if (o instanceof MemberImpl) { |
| 608 | return Arrays.equals(this.getHost(), ((MemberImpl) o).getHost()) && |
| 609 | this.getPort() == ((MemberImpl) o).getPort() && |
| 610 | Arrays.equals(this.getUniqueId(), ((MemberImpl) o).getUniqueId()); |
| 611 | } else { |
| 612 | return false; |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | /** |
| 617 | * Set the host. |
nothing calls this directly
no test coverage detected