io.atomix.primitives.map.impl.ConsistentTreeMapProxy to io.atomix.map.AsyncConsistentTreeMap<java.lang.String, java.lang.String>
No. of Instances - 4
No. of Commits - 1
No. of Projects - {'atomix'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
- Add or Remove Method invocation
- map.getOrDefault(key,"bar".getBytes()).thenAccept(result -> { assertEquals(0,result.version()); assertArrayEquals("bar".getBytes(),result.value()); } ) to map.getOrDefault(key,"bar").thenAccept(result -> { assertEquals(0,result.version()); assertEquals("bar",result.value()); } )
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allKeys to all.indexOf(key)
- allKeys.indexOf(key) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- map.values().thenAccept(values -> assertTrue(byteArrayCollectionIsEqual(values.stream().map(v -> v.value()).collect(Collectors.toSet()),allValues))) to map.values().thenAccept(values -> assertTrue(stringArrayCollectionIsEqual(values.stream().map(v -> v.value()).collect(Collectors.toSet()),all)))
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allValues to all.get(3 - all.indexOf(key))
- allValues.get(3 - allKeys.indexOf(key)) to all
- map.replace(key,spareValue,allValues.get(allKeys.indexOf(key))).thenAccept(result -> assertFalse(result)).join() to map.replace(key,spare,all.get(all.indexOf(key))).thenAccept(result -> assertFalse(result)).join()
- allValues to all.get(3 - all.indexOf(key))
- allValues.get(3 - allKeys.indexOf(key)) to all
- allValues to all.get(3 - all.indexOf(key))
- allValues.get(3 - allKeys.indexOf(key)) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- map.ceilingEntry(keyOne).thenAccept(result -> { assertEquals(keyOne,result.getKey()); assertArrayEquals(valueOne,result.getValue().value()); } ) to map.ceilingEntry(one).thenAccept(result -> { assertEquals(one,result.getKey()); assertEquals(one,result.getValue().value()); } )
- map.ceilingEntry(keyOne + "a").thenAccept(result -> { assertEquals(keyTwo,result.getKey()); assertArrayEquals(valueTwo,result.getValue().value()); } ) to map.ceilingEntry(one + "a").thenAccept(result -> { assertEquals(two,result.getKey()); assertEquals(two,result.getValue().value()); } )
- map.floorEntry(keyTwo).thenAccept(result -> { assertEquals(keyTwo,result.getKey()); assertArrayEquals(valueTwo,result.getValue().value()); } ) to map.floorEntry(two).thenAccept(result -> { assertEquals(two,result.getKey()); assertEquals(two,result.getValue().value()); } )
- keyTwo to two.substring(0,2)
- keyTwo.substring(0,2) to two
- keyOne to one.substring(0,1)
- keyOne.substring(0,1) to one
- map.higherEntry(keyTwo).thenAccept(result -> { assertEquals(keyThree,result.getKey()); assertArrayEquals(valueThree,result.getValue().value()); } ) to map.higherEntry(two).thenAccept(result -> { assertEquals(three,result.getKey()); assertEquals(three,result.getValue().value()); } )
- map.lowerEntry(keyFour).thenAccept(result -> { assertEquals(keyThree,result.getKey()); assertArrayEquals(valueThree,result.getValue().value()); } ) to map.lowerEntry(four).thenAccept(result -> { assertEquals(three,result.getKey()); assertEquals(three,result.getValue().value()); } )
- allValues to all.get(all.indexOf(key))
- allValues.get(allKeys.indexOf(key)) to all
- map.lowerKey(keyThree).thenAccept(result -> assertEquals(keyTwo,result)) to map.lowerKey(three).thenAccept(result -> assertEquals(two,result))
- map.floorKey(keyThree).thenAccept(result -> assertEquals(keyThree,result)) to map.floorKey(three).thenAccept(result -> assertEquals(three,result))
- keyOne to one.substring(0,1)
- keyOne.substring(0,1) to one
- map.ceilingKey(keyTwo).thenAccept(result -> assertEquals(keyTwo,result)) to map.ceilingKey(two).thenAccept(result -> assertEquals(two,result))
- map.higherKey(keyThree).thenAccept(result -> assertEquals(keyFour,result)) to map.higherKey(three).thenAccept(result -> assertEquals(four,result))
- Arrays to Objects.equals(v,value2)
- Arrays.equals(v,value2) to Objects