Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReplaceEntry_supportedPresent (0.3 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java

    public class MapReplaceEntryTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresent() {
        try {
          assertTrue(getMap().replace(k0(), v0(), v3()));
          expectReplacement(entry(k0(), v3()));
        } catch (ClassCastException tolerated) { // for ClassToInstanceMap
          expectUnchanged();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top