Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 523 for putAll (0.32 sec)

  1. android/guava/src/com/google/common/collect/EnumBiMap.java

       */
      public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V> create(Map<K, V> map) {
        EnumBiMap<K, V> bimap =
            create(inferKeyTypeOrObjectUnderJ2cl(map), inferValueTypeOrObjectUnderJ2cl(map));
        bimap.putAll(map);
        return bimap;
      }
    
      private EnumBiMap(Class<K> keyTypeOrObjectUnderJ2cl, Class<V> valueTypeOrObjectUnderJ2cl) {
        super(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SortedSetMultimap.java

       * Changes to the returned map, such as element removal, will update the underlying multimap. The
       * map does not support {@code setValue()} on its entries, {@code put}, or {@code putAll}.
       *
       * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same
       * behavior as {@link #get}, returning a live collection. When passed a key that is not present,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

         */
        @Test
        public void testPutAll() throws Exception {
            final Map<String, String> m = new HashMap<String, String>();
            m.put("three", "3");
            m.put("four", "4");
            map.putAll(m);
            assertThat(map.get("THREE"), is("3"));
            assertThat(map.get("FOUR"), is("4"));
            assertThat(map.size(), is(4));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/ExecJob.java

            try (FileOutputStream out = new FileOutputStream(propFile)) {
                final Properties prop = new Properties();
                prop.putAll(ComponentUtil.getSystemProperties());
                final LaJobRuntime jobRuntime = ComponentUtil.getJobHelper().getJobRuntime();
                if (jobRuntime != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashMultimap.java

      }
    
      private HashMultimap(Multimap<? extends K, ? extends V> multimap) {
        super(Platform.<K, Collection<V>>newHashMapWithExpectedSize(multimap.keySet().size()));
        putAll(multimap);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Creates an empty {@code HashSet} for a collection of values for one key.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 10:02:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

            () -> map.put(TypeToken.of(Integer.class), Integer.valueOf(5)));
      }
    
      public void testPutAllThrows() {
        assertThrows(
            UnsupportedOperationException.class,
            () -> map.putAll(ImmutableMap.of(TypeToken.of(Integer.class), Integer.valueOf(5))));
      }
    
      public void testEntrySetMutationThrows() {
        map.putInstance(String.class, "test");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
      private ReflectionFreeAssertThrows() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
      private ReflectionFreeAssertThrows() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java

              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
      private ReflectionFreeAssertThrows() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

          entries.add(immutableEntry(range, value));
          return this;
        }
    
        /** Copies all associations from the specified range map into this builder. */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(RangeMap<K, ? extends V> rangeMap) {
          for (Entry<Range<K>, ? extends V> entry : rangeMap.asMapOfRanges().entrySet()) {
            put(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top