Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 203 for optall (0.12 sec)

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

        filtered.put("a", 1);
        filtered.put("b", 2);
        assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
    
        assertThrows(
            IllegalArgumentException.class,
            () -> filtered.putAll(ImmutableMap.of("c", 3, "zzz", 4, "b", 5)));
    
        assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
      }
    
      public void testFilteredKeysFilteredReflectsBackingChanges() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

      }
    
      // Null support depends on the underlying table and function.
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      @Override
      public void testNullPointerInstance() {}
    
      // put() and putAll() aren't supported.
      @Override
      public void testPut() {
        assertThrows(UnsupportedOperationException.class, () -> table.put("foo", 1, 'a'));
        assertSize(0);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/DocMap.java

        /**
         * Copies all of the mappings from the specified map to this map.
         *
         * @param m the mappings to be stored in this map
         */
        @Override
        public void putAll(final Map<? extends String, ? extends Object> m) {
            parent.putAll(m);
        }
    
        /**
         * Removes all of the mappings from this map.
         */
        @Override
        public void clear() {
            parent.clear();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      @Override
      public @Nullable V put(K key, V value) {
        return delegate.put(checkValid(key), value);
      }
    
      @Override
      public void putAll(Map<? extends K, ? extends V> map) {
        for (K key : map.keySet()) {
          checkValid(key);
        }
        delegate.putAll(map);
      }
    
      @Override
      public @Nullable V remove(Object key) {
        return delegate.remove(checkValid(key));
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

          super.put(entry);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(Map<? extends K, ? extends V> map) {
          return putAll(map.entrySet());
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(Iterable<? extends Entry<? extends K, ? extends V>> entries) {
          for (Entry<? extends K, ? extends V> entry : entries) {
            put(entry);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        Map<String, Integer> moreToPut = new LinkedHashMap<>();
        moreToPut.put("four", 4);
        moreToPut.put("five", 5);
    
        ImmutableBiMap<String, Integer> map =
            new Builder<String, Integer>().putAll(toPut).putAll(moreToPut).build();
        assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5);
        assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.put(rowKey, columnKey, value);
        }
    
        @Override
        public void putAll(Table<? extends R, ? extends C, ? extends V> table) {
          assertTrue(Thread.holdsLock(mutex));
          delegate.putAll(table);
        }
    
        @Override
        public @Nullable V remove(Object rowKey, Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

         * @throws ClassCastException if any value is not an instance of the type specified by its key
         */
        @CanIgnoreReturnValue
        public <T extends B> Builder<B> putAll(Map<? extends Class<? extends T>, ? extends T> map) {
          for (Entry<? extends Class<? extends T>, ? extends T> entry : map.entrySet()) {
            Class<? extends T> type = entry.getKey();
            T value = entry.getValue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Tables.java

            @ParametricNullness R columnKey,
            @ParametricNullness V value) {
          return original.put(columnKey, rowKey, value);
        }
    
        @Override
        public void putAll(Table<? extends C, ? extends R, ? extends V> table) {
          original.putAll(transpose(table));
        }
    
        @Override
        public @Nullable V remove(@Nullable Object rowKey, @Nullable Object columnKey) {
          return original.remove(columnKey, rowKey);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

            return value;
          }
    
          alertListenerIfPresent(castKey, value, RemovalCause.EXPIRED);
        }
        return null;
      }
    
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void clear() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
Back to top