@Test public void testEquals() throws Exception { assertThat(lsdbAge.equals(lsdbAge), is(true)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsdbAgeImpl that = (LsdbAgeImpl) o; return Objects.equal(ageBins, that.ageBins) && Objects.equal(ageCounter, that.ageCounter) && Objects.equal(ageCounterRollOver, that.ageCounterRollOver) && Objects.equal(lsaQueue, lsaQueue); }
LsdbAgeImpl implements LsdbAge { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsdbAgeImpl that = (LsdbAgeImpl) o; return Objects.equal(ageBins, that.ageBins) && Objects.equal(ageCounter, that.ageCounter) && Objects.equal(ageCounterRollOver, that.ageCounterRollOver) && Objects.equal(lsaQueue, lsaQueue); } }
LsdbAgeImpl implements LsdbAge { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsdbAgeImpl that = (LsdbAgeImpl) o; return Objects.equal(ageBins, that.ageBins) && Objects.equal(ageCounter, that.ageCounter) && Objects.equal(ageCounterRollOver, that.ageCounterRollOver) && Objects.equal(lsaQueue, lsaQueue); } LsdbAgeImpl(OspfArea ospfArea); }
LsdbAgeImpl implements LsdbAge { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsdbAgeImpl that = (LsdbAgeImpl) o; return Objects.equal(ageBins, that.ageBins) && Objects.equal(ageCounter, that.ageCounter) && Objects.equal(ageCounterRollOver, that.ageCounterRollOver) && Objects.equal(lsaQueue, lsaQueue); } LsdbAgeImpl(OspfArea ospfArea); @Override boolean equals(Object o); @Override int hashCode(); void addLsaBin(Integer binKey, LsaBin lsaBin); LsaBin getLsaBin(Integer binKey); void addLsaToMaxAgeBin(String key, LsaWrapper wrapper); void removeLsaFromBin(LsaWrapper lsaWrapper); void startDbAging(); void ageLsaAndFlood(); void maxAgeLsa(); void refreshLsa(); void checkAges(); Channel getChannel(); void setChannel(Channel channel); int getAgeCounter(); int getAgeCounterRollOver(); LsaBin getMaxAgeBin(); int age2Bin(int x); }
LsdbAgeImpl implements LsdbAge { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsdbAgeImpl that = (LsdbAgeImpl) o; return Objects.equal(ageBins, that.ageBins) && Objects.equal(ageCounter, that.ageCounter) && Objects.equal(ageCounterRollOver, that.ageCounterRollOver) && Objects.equal(lsaQueue, lsaQueue); } LsdbAgeImpl(OspfArea ospfArea); @Override boolean equals(Object o); @Override int hashCode(); void addLsaBin(Integer binKey, LsaBin lsaBin); LsaBin getLsaBin(Integer binKey); void addLsaToMaxAgeBin(String key, LsaWrapper wrapper); void removeLsaFromBin(LsaWrapper lsaWrapper); void startDbAging(); void ageLsaAndFlood(); void maxAgeLsa(); void refreshLsa(); void checkAges(); Channel getChannel(); void setChannel(Channel channel); int getAgeCounter(); int getAgeCounterRollOver(); LsaBin getMaxAgeBin(); int age2Bin(int x);  }