OriginalCompleteBeforeOriginalCompleteAfterBeforeAfterProjectCommitCompilationUnitLineNosNamesTemplateVariableToCodeBeforeRelevantImportsTemplateVariableToCodeAfterisRelevantisSafe
Assert.assertEquals(1000,mapping.keySet().iterator().next().size());Assert.assertEquals(1000,mapping.values().iterator().next().size());mapping.keySet()mapping.values()rest.li896facedc21d40d9d1469608b74010d82514a63ecom.linkedin.d2.balancer.util.hashing.RingBasedURIMapperTest
_1182
_2182
_1mapping
_2mapping
TCIVarmapping
TCIVarmapping
UsesTrue
Assert.assertEquals(1000,mapping.keySet().iterator().next().size());Assert.assertEquals(1000,mapping.values().iterator().next().size());mapping.keySet()mapping.values()rest.li896facedc21d40d9d1469608b74010d82514a63ecom.linkedin.d2.balancer.util.hashing.RingBasedURIMapperTest
_1215
_2215
_1mapping
_2mapping
TCIVarmapping
TCIVarmapping
UsesTrue
int mappedKeyCount=mapping.keySet().stream().map(Set::size).reduce(Integer::sum).get();int mappedKeyCount=mapping.values().stream().map(Set::size).reduce(Integer::sum).get();mapping.keySet()mapping.values()rest.li896facedc21d40d9d1469608b74010d82514a63ecom.linkedin.d2.balancer.util.hashing.RingBasedURIMapperTest
_192
_292
_1mapping
_2mapping
TCIVarmapping
TCIVarmapping
UsesTrue
Set<Integer> mappedKeys=mapping.keySet().stream().reduce(new HashSet<>(),(e1,e2) -> { e1.addAll(e2); return e1;});Set<Integer> mappedKeys=mapping.values().stream().reduce(new HashSet<>(),(e1,e2) -> { e1.addAll(e2); return e1;});mapping.keySet()mapping.values()rest.li896facedc21d40d9d1469608b74010d82514a63ecom.linkedin.d2.balancer.util.hashing.RingBasedURIMapperTest
_192
_292
_1mapping
_2mapping
TCIVarmapping
TCIVarmapping
UsesTrue