HomeSort by relevance Sort by last modified time
    Searched refs:valueToPut (Results 1 - 2 of 2) sorted by null

  /external/guava/guava-testlib/src/com/google/common/collect/testing/
ConcurrentMapInterfaceTest.java 73 final V valueToPut;
77 valueToPut = getValueNotInPopulatedMap();
83 V oldValue = map.putIfAbsent(keyToPut, valueToPut);
84 assertEquals(valueToPut, map.get(keyToPut));
86 assertTrue(map.containsValue(valueToPut));
91 map.putIfAbsent(keyToPut, valueToPut);
103 final V valueToPut;
106 valueToPut = getValueNotInPopulatedMap();
114 assertEquals(oldValue, map.putIfAbsent(keyToPut, valueToPut));
118 assertFalse(map.containsValue(valueToPut));
    [all...]
MapInterfaceTest.java 1005 final V valueToPut;
1008 valueToPut = getValueNotInPopulatedMap();
1014 V oldValue = map.put(keyToPut, valueToPut);
1015 assertEquals(valueToPut, map.get(keyToPut));
1017 assertTrue(map.containsValue(valueToPut));
1022 map.put(keyToPut, valueToPut);
1034 final V valueToPut;
1037 valueToPut = getValueNotInPopulatedMap();
1044 map.put(keyToPut, valueToPut);
1045 assertEquals(valueToPut, map.get(keyToPut))
    [all...]

Completed in 28 milliseconds