Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 620 for putAll (0.04 seconds)

  1. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
      private ReflectionFreeAssertThrows() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

          return standardContainsKey(key);
        }
    
        @Override
        public boolean containsValue(Object value) {
          return standardContainsValue(value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> map) {
          standardPutAll(map);
        }
    
        @Override
        public @Nullable V remove(Object object) {
          return standardRemove(object);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ForwardingNavigableMap.java

     * to the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change
     * the behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code putAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardPutAll} method.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

       *
       * @deprecated unsupported operation
       * @throws UnsupportedOperationException always
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public void putAll(Map<? extends TypeToken<? extends @NonNull B>, ? extends B> map) {
        throw new UnsupportedOperationException("Please use putInstance() instead.");
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return super.put(key, value);
      }
    
      @Override
      public void putAll(Map<? extends Class<? extends @NonNull B>, ? extends B> map) {
        Map<Class<? extends @NonNull B>, B> copy = new LinkedHashMap<>(map);
        for (Entry<? extends Class<? extends @NonNull B>, B> entry : copy.entrySet()) {
          cast(entry.getKey(), entry.getValue());
        }
        super.putAll(copy);
      }
    
      @CanIgnoreReturnValue
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ArrayTable.java

       *     in {@link #rowKeySet()} or {@link #columnKeySet()}
       */
      @Override
      public void putAll(Table<? extends R, ? extends C, ? extends @Nullable V> table) {
        super.putAll(table);
      }
    
      /**
       * Not supported. Use {@link #erase} instead.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link #erase}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
      private ReflectionFreeAssertThrows() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ArrayListMultimap.java

        this(
            multimap.keySet().size(),
            (multimap instanceof ArrayListMultimap)
                ? ((ArrayListMultimap<?, ?>) multimap).expectedValuesPerKey
                : DEFAULT_VALUES_PER_KEY);
        putAll(multimap);
      }
    
      /**
       * Creates a new, empty {@code ArrayList} to hold the collection of values for an arbitrary key.
       */
      @Override
      List<V> createCollection() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Maps.java

          return unfiltered.put(key, value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> map) {
          for (Entry<? extends K, ? extends V> entry : map.entrySet()) {
            checkArgument(apply(entry.getKey(), entry.getValue()));
          }
          unfiltered.putAll(map);
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
Back to Top