Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getKeyNotInPopulatedMap (0.13 sec)

  1. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        K unmappedKey = null;
        try {
          unmappedKey = getKeyNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertNull(map.get(unmappedKey));
      }
    
      public void testGetForEmptyMap() {
        Map<K, V> map;
        K unmappedKey = null;
        try {
          map = makeEmptyMap();
          unmappedKey = getKeyNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        K unmappedKey = null;
        try {
          unmappedKey = getKeyNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertNull(map.get(unmappedKey));
      }
    
      public void testGetForEmptyMap() {
        Map<K, V> map;
        K unmappedKey = null;
        try {
          map = makeEmptyMap();
          unmappedKey = getKeyNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        multimap.put("f", 1);
        multimap.put("f", 2);
        multimap.put("g", 3);
        multimap.put("h", 4);
        return multimap.asMap().subMap("e", "p");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "a";
      }
    
      @Override
      protected Collection<Integer> getValueNotInPopulatedMap() {
        return singleton(-2);
      }
    
      @Override
      public void testEntrySetRemoveAllNullFromEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

              allowsNullValues,
              supportsPut,
              supportsRemove,
              supportsClear,
              supportsIteratorRemove);
        }
    
        @Override
        protected String getKeyNotInPopulatedMap() {
          return "four";
        }
    
        @Override
        protected Integer getValueNotInPopulatedMap() {
          return 4;
        }
      }
    
      abstract static class RowTests extends MapTests {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TableCollectionTest.java

              allowsNullValues,
              supportsPut,
              supportsRemove,
              supportsClear,
              supportsIteratorRemove);
        }
    
        @Override
        protected String getKeyNotInPopulatedMap() {
          return "four";
        }
    
        @Override
        protected Integer getValueNotInPopulatedMap() {
          return 4;
        }
      }
    
      abstract static class RowTests extends MapTests {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

    abstract class AbstractMapsTransformValuesTest extends MapInterfaceTest<String, String> {
      public AbstractMapsTransformValuesTest() {
        super(false, true, false, true, true);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException {
        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        underlying.put("c", 3);
        return transformValues(
            new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction());
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException {
        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top