Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 335 for optall (0.13 seconds)

  1. 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)
  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. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            HashMap<String, String> result = new HashMap<>(getSystemProperties());
            if (project != null) {
                result.putAll(project.getModel().getProperties());
            }
            result.putAll(getUserProperties());
            return result;
        }
    
        @Nonnull
        @Override
        public Version getMavenVersion() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableBiMap.java

         *
         * @throws NullPointerException if any key or value in {@code map} is null
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(Map<? extends K, ? extends V> map) {
          super.putAll(map);
          return this;
        }
    
        /**
         * Adds all of the given entries to the built bimap. Duplicate keys or values are not allowed,
         * and will cause {@link #build} to fail.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy

                    [(jsonChange.toApiChange()): jsonChange.acceptation]
                }
                acceptedApiChanges.acceptedChanges.putAll(acceptedChanges)
            }
            return acceptedApiChanges
        }
    
        Map<String, String> toAcceptedChangesMap() {
            acceptedChanges.collectEntries { change ->
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 04 14:00:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

      }
    
      public final void testPutAll() {
        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
          assertThrows(
              UnsupportedOperationException.class,
              () -> testInstance.putAll(ImmutableTable.of('a', 1, "blah")));
        }
      }
    
      public final void testRemove() {
        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  8. 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) {
        synchronized (lock) {
          for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
            put(entry.getKey(), entry.getValue());
          }
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  9. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java

     * ManagedVersionMap
     */
    @Deprecated
    public class ManagedVersionMap extends HashMap<String, Artifact> {
        public ManagedVersionMap(Map<String, Artifact> map) {
            super();
            if (map != null) {
                putAll(map);
            }
        }
    
        @Override
        public String toString() {
            StringBuilder buffer = new StringBuilder("ManagedVersionMap (" + size() + " entries)\n");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top