Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 267 for putAll (0.17 sec)

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

    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Arrays;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link ListMultimap#putAll(Object, Iterable)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/properties/internal/SystemProperties.java

    /**
     * @since 3.2.3
     */
    public class SystemProperties {
        /**
         * Thread-safe System.properties copy implementation.
         */
        public static void addSystemProperties(Properties props) {
            props.putAll(getSystemProperties());
        }
    
        /**
         * Returns a copy of {@link System#getProperties()} in a thread-safe manner.
         *
         * @return {@link System#getProperties()} obtained in a thread-safe manner.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

            }
            return defaultValue;
        }
    
        public DataStoreParams newInstance() {
            return new DataStoreParams(params);
        }
    
        public void putAll(final Map<String, String> map) {
            params.putAll(map);
        }
    
        public boolean containsKey(final String key) {
            return params.containsKey(key);
        }
    
        public Map<String, Object> asMap() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        } catch (UnsupportedOperationException expected) {
        }
        try {
          multimapView.putAll("baz", Collections.singleton(3));
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          multimapView.putAll(multimap);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/aether/PropertyContributorExtender.java

                    contributor.contribute(userPropertiesMap);
                }
                Properties newProperties = new Properties();
                newProperties.putAll(userPropertiesMap);
                mavenExecutionRequest.setUserProperties(newProperties);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Feb 20 15:38:09 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java

                        tmp.setProperty(key, entry.getValue());
                    }
                    envVars = tmp;
                }
    
                props.putAll(envVars);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. 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() {
        try {
          table.put("foo", 1, 'a');
          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        try {
          map.put("b", "2");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
    
        try {
          map.putAll(ImmutableMap.of("b", "2"));
          fail();
        } catch (UnsupportedOperationException expected) {
        }
    
        try {
          map.entrySet().iterator().next().setValue("one");
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMapFloodingTest.java

              }
            }
            return ImmutableMap.builder().putAll(sourceMap).buildOrThrow();
          }
        },
        BUILDER_PUT_ALL_ENTRIES {
          @Override
          public Map<Object, Object> create(List<?> keys) {
            return ImmutableMap.builder()
                .putAll(Lists.transform(keys, k -> Maps.immutableEntry(k, "dummy value")))
                .buildOrThrow();
          }
        },
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/AbstractLoadingCache.java

     * #getUnchecked}, {@link #get(Object, Callable)}, and {@link #getAll} are implemented in terms of
     * {@code get}; {@link #getAllPresent} is implemented in terms of {@code getIfPresent}; {@link
     * #putAll} is implemented in terms of {@link #put}, {@link #invalidateAll(Iterable)} is implemented
     * in terms of {@link #invalidate}. The method {@link #cleanUp} is a no-op. All other methods throw
     * an {@link UnsupportedOperationException}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.7K bytes
    - Viewed (0)
Back to top