@Test public void testEqual() throws Exception { result4 = asbrSummaryLsa.equals(new AsbrSummaryLsa(new LsaHeader())); assertThat(result4, is(true)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AsbrSummaryLsa that = (AsbrSummaryLsa) o; return Objects.equal(networkMask, that.networkMask) && Objects.equal(metric, that.metric); }
AsbrSummaryLsa extends LsaHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AsbrSummaryLsa that = (AsbrSummaryLsa) o; return Objects.equal(networkMask, that.networkMask) && Objects.equal(metric, that.metric); } }
AsbrSummaryLsa extends LsaHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AsbrSummaryLsa that = (AsbrSummaryLsa) o; return Objects.equal(networkMask, that.networkMask) && Objects.equal(metric, that.metric); } AsbrSummaryLsa(LsaHeader lsaHeader); }
AsbrSummaryLsa extends LsaHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AsbrSummaryLsa that = (AsbrSummaryLsa) o; return Objects.equal(networkMask, that.networkMask) && Objects.equal(metric, that.metric); } AsbrSummaryLsa(LsaHeader lsaHeader); Ip4Address networkMask(); void setNetworkMask(Ip4Address networkMask); int metric(); void setMetric(int metric); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override OspfLsaType getOspfLsaType(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
AsbrSummaryLsa extends LsaHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AsbrSummaryLsa that = (AsbrSummaryLsa) o; return Objects.equal(networkMask, that.networkMask) && Objects.equal(metric, that.metric); } AsbrSummaryLsa(LsaHeader lsaHeader); Ip4Address networkMask(); void setNetworkMask(Ip4Address networkMask); int metric(); void setMetric(int metric); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override OspfLsaType getOspfLsaType(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }