Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for getValueNotInPopulatedMap (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/RegularImmutableSortedMapMapInterfaceTest.java

        return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return -1;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/RegularImmutableMapMapInterfaceTest.java

        return ImmutableMap.of("one", 1, "two", 2, "three", 3);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return -1;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        return multimap.asMap().subMap("e", "p");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "a";
      }
    
      @Override
      protected Collection<Integer> getValueNotInPopulatedMap() {
        return singleton(-2);
      }
    
      @Override
      public void testEntrySetRemoveAllNullFromEmpty() {
        try {
          super.testEntrySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return -1;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

        table.put("a", "a", "d");
        return table.row("b");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "q";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() {
        return "p";
      }
    
      public void testClearSubMapOfRowMap() {
        TreeBasedTable<String, String, String> table = TreeBasedTable.create();
        table.put("a", "b", "c");
        table.put("c", "b", "a");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        return multimap.asMap().subMap("e", "p");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "a";
      }
    
      @Override
      protected Collection<Integer> getValueNotInPopulatedMap() {
        return singleton(-2);
      }
    
      @Override
      public void testEntrySetRemoveAllNullFromEmpty() {
        try {
          super.testEntrySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

        return sortedMap;
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return -1;
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      @Override
      public void testContainsKey() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

              supportsIteratorRemove);
        }
    
        @Override
        protected String getKeyNotInPopulatedMap() {
          return "four";
        }
    
        @Override
        protected Integer getValueNotInPopulatedMap() {
          return 4;
        }
      }
    
      abstract static class RowTests extends MapTests {
        RowTests(
            boolean allowsNullValues,
            boolean supportsPut,
            boolean supportsRemove,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top