@Test public void testEquals() throws Exception { assertThat(ospfAreaAddressRange.equals(new OspfAreaAddressRangeImpl()), is(true)); }
@Override public boolean equals(Object other) { if (!(other instanceof OspfAreaAddressRangeImpl)) { return false; } OspfAreaAddressRangeImpl otherAreaAddressRange = (OspfAreaAddressRangeImpl) other; return Objects.equal(ipAddress, otherAreaAddressRange.ipAddress) && Objects.equal(mask, otherAreaAddressRange.mask) && Objects.equal(advertise, otherAreaAddressRange.advertise); }
OspfAreaAddressRangeImpl implements OspfAreaAddressRange { @Override public boolean equals(Object other) { if (!(other instanceof OspfAreaAddressRangeImpl)) { return false; } OspfAreaAddressRangeImpl otherAreaAddressRange = (OspfAreaAddressRangeImpl) other; return Objects.equal(ipAddress, otherAreaAddressRange.ipAddress) && Objects.equal(mask, otherAreaAddressRange.mask) && Objects.equal(advertise, otherAreaAddressRange.advertise); } }
OspfAreaAddressRangeImpl implements OspfAreaAddressRange { @Override public boolean equals(Object other) { if (!(other instanceof OspfAreaAddressRangeImpl)) { return false; } OspfAreaAddressRangeImpl otherAreaAddressRange = (OspfAreaAddressRangeImpl) other; return Objects.equal(ipAddress, otherAreaAddressRange.ipAddress) && Objects.equal(mask, otherAreaAddressRange.mask) && Objects.equal(advertise, otherAreaAddressRange.advertise); }  }
OspfAreaAddressRangeImpl implements OspfAreaAddressRange { @Override public boolean equals(Object other) { if (!(other instanceof OspfAreaAddressRangeImpl)) { return false; } OspfAreaAddressRangeImpl otherAreaAddressRange = (OspfAreaAddressRangeImpl) other; return Objects.equal(ipAddress, otherAreaAddressRange.ipAddress) && Objects.equal(mask, otherAreaAddressRange.mask) && Objects.equal(advertise, otherAreaAddressRange.advertise); }  Ip4Address ipAddress(); void setIpAddress(Ip4Address ipAddress); String mask(); void setMask(String mask); boolean isAdvertise(); void setAdvertise(boolean advertise); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
OspfAreaAddressRangeImpl implements OspfAreaAddressRange { @Override public boolean equals(Object other) { if (!(other instanceof OspfAreaAddressRangeImpl)) { return false; } OspfAreaAddressRangeImpl otherAreaAddressRange = (OspfAreaAddressRangeImpl) other; return Objects.equal(ipAddress, otherAreaAddressRange.ipAddress) && Objects.equal(mask, otherAreaAddressRange.mask) && Objects.equal(advertise, otherAreaAddressRange.advertise); }  Ip4Address ipAddress(); void setIpAddress(Ip4Address ipAddress); String mask(); void setMask(String mask); boolean isAdvertise(); void setAdvertise(boolean advertise); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); public Ip4Address ipAddress; public String mask; public boolean advertise; }