@Test public void testEquals() { PoolMember obj = _builder.build(); new EqualsTester() .addEqualityGroup(obj, obj, _builder.build()) .addEqualityGroup(_builder.setAddress(null).build()) .addEqualityGroup(_builder.setAddress6(null).build()) .addEqualityGroup(_builder.setDescription(null).build()) .addEqualityGroup(_builder.setName("n2").build()) .addEqualityGroup(_builder.setNode("n2").build()) .addEqualityGroup(_builder.setPort(2).build()) .testEquals(); }
@Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof PoolMember)) { return false; } PoolMember rhs = (PoolMember) obj; return Objects.equals(_address, rhs._address) && Objects.equals(_address6, rhs._address6) && Objects.equals(_description, rhs._description) && _name.equals(rhs._name) && _node.equals(rhs._node) && _port == rhs._port; }
PoolMember implements Serializable { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof PoolMember)) { return false; } PoolMember rhs = (PoolMember) obj; return Objects.equals(_address, rhs._address) && Objects.equals(_address6, rhs._address6) && Objects.equals(_description, rhs._description) && _name.equals(rhs._name) && _node.equals(rhs._node) && _port == rhs._port; } }
PoolMember implements Serializable { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof PoolMember)) { return false; } PoolMember rhs = (PoolMember) obj; return Objects.equals(_address, rhs._address) && Objects.equals(_address6, rhs._address6) && Objects.equals(_description, rhs._description) && _name.equals(rhs._name) && _node.equals(rhs._node) && _port == rhs._port; } private  PoolMember(
      @Nullable Ip address,
      @Nullable Ip6 address6,
      @Nullable String description,
      String name,
      String node,
      int port); }
PoolMember implements Serializable { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof PoolMember)) { return false; } PoolMember rhs = (PoolMember) obj; return Objects.equals(_address, rhs._address) && Objects.equals(_address6, rhs._address6) && Objects.equals(_description, rhs._description) && _name.equals(rhs._name) && _node.equals(rhs._node) && _port == rhs._port; } private  PoolMember(
      @Nullable Ip address,
      @Nullable Ip6 address6,
      @Nullable String description,
      String name,
      String node,
      int port); static @Nonnull Builder builder(); @Nullable Ip getAddress(); @Nullable Ip6 getAddress6(); @Nullable String getDescription(); @Nonnull String getName(); @Nonnull String getNode(); int getPort(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); }
PoolMember implements Serializable { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof PoolMember)) { return false; } PoolMember rhs = (PoolMember) obj; return Objects.equals(_address, rhs._address) && Objects.equals(_address6, rhs._address6) && Objects.equals(_description, rhs._description) && _name.equals(rhs._name) && _node.equals(rhs._node) && _port == rhs._port; } private  PoolMember(
      @Nullable Ip address,
      @Nullable Ip6 address6,
      @Nullable String description,
      String name,
      String node,
      int port); static @Nonnull Builder builder(); @Nullable Ip getAddress(); @Nullable Ip6 getAddress6(); @Nullable String getDescription(); @Nonnull String getName(); @Nonnull String getNode(); int getPort(); @Override boolean equals(@Nullable Object obj); @Override int hashCode();  }