@Test public void testAddLspBin() throws Exception { defaultIsisLsdbAge.addLspBin(1400, isisLspBin); resultLspBin = defaultIsisLsdbAge.getLspBin(1); assertThat(resultLspBin, is(notNullValue())); }
public void addLspBin(int binNumber, IsisLspBin lspBin) { if (!ageBins.containsKey(binNumber)) { ageBins.put(binNumber, lspBin); } }
DefaultIsisLsdbAge implements IsisLsdbAge { public void addLspBin(int binNumber, IsisLspBin lspBin) { if (!ageBins.containsKey(binNumber)) { ageBins.put(binNumber, lspBin); } } }
DefaultIsisLsdbAge implements IsisLsdbAge { public void addLspBin(int binNumber, IsisLspBin lspBin) { if (!ageBins.containsKey(binNumber)) { ageBins.put(binNumber, lspBin); } } DefaultIsisLsdbAge(); }
DefaultIsisLsdbAge implements IsisLsdbAge { public void addLspBin(int binNumber, IsisLspBin lspBin) { if (!ageBins.containsKey(binNumber)) { ageBins.put(binNumber, lspBin); } } DefaultIsisLsdbAge(); int ageCounter(); int ageCounterRollOver(); void addLspBin(int binNumber, IsisLspBin lspBin); IsisLspBin getLspBin(int binKey); void removeLspFromBin(LspWrapper lspWrapper); int age2Bin(int age); void startDbAging(); void ageLsp(); void maxAgeLsa(); void refreshLsa(); }
DefaultIsisLsdbAge implements IsisLsdbAge { public void addLspBin(int binNumber, IsisLspBin lspBin) { if (!ageBins.containsKey(binNumber)) { ageBins.put(binNumber, lspBin); } } DefaultIsisLsdbAge(); int ageCounter(); int ageCounterRollOver(); void addLspBin(int binNumber, IsisLspBin lspBin); IsisLspBin getLspBin(int binKey); void removeLspFromBin(LspWrapper lspWrapper); int age2Bin(int age); void startDbAging(); void ageLsp(); void maxAgeLsa(); void refreshLsa();  }