Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 639 for putAll (0.43 sec)

  1. 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)
  2. guava/src/com/google/common/collect/AbstractMultimap.java

      @CanIgnoreReturnValue
      @Override
      public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
        return get(key).add(value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
        checkNotNull(values);
        // make sure we only call values.iterator() once
        // and we only call get(key) if values is nonempty
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

       * copied table may have different iteration orders. For more control over the ordering, create a
       * {@link Builder} and call {@link Builder#orderRowsBy}, {@link Builder#orderColumnsBy}, and
       * {@link Builder#putAll}
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/ForwardingCache.java

      }
    
      /** @since 11.0 */
      @Override
      public void put(K key, V value) {
        delegate().put(key, value);
      }
    
      /** @since 12.0 */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        delegate().putAll(m);
      }
    
      @Override
      public void invalidate(Object key) {
        delegate().invalidate(key);
      }
    
      /** @since 11.0 */
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/ForwardingCache.java

      }
    
      /** @since 11.0 */
      @Override
      public void put(K key, V value) {
        delegate().put(key, value);
      }
    
      /** @since 12.0 */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        delegate().putAll(m);
      }
    
      @Override
      public void invalidate(Object key) {
        delegate().invalidate(key);
      }
    
      /** @since 11.0 */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeRangeMap.java

        @Override
        public void putAll(RangeMap<K, ? extends V> rangeMap) {
          if (rangeMap.asMapOfRanges().isEmpty()) {
            return;
          }
          Range<K> span = rangeMap.span();
          checkArgument(
              subRange.encloses(span),
              "Cannot putAll rangeMap with span %s into a subRangeMap(%s)",
              span,
              subRange);
          TreeRangeMap.this.putAll(rangeMap);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put("tree", 4);
        multimap.put("tree", 0);
        return multimap;
      }
    
      public void testToString() {
        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", Arrays.asList(3, 1, 2));
        multimap.putAll("foo", Arrays.asList(2, 3, 1, -1, 4));
        assertEquals("{bar=[1, 2, 3], foo=[-1, 1, 2, 3, 4]}", multimap.toString());
      }
    
      public void testOrderedGet() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        public @Nullable V put(K key, V value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.put(key, value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> map) {
          assertTrue(Thread.holdsLock(mutex));
          super.putAll(map);
        }
    
        @Override
        public Set<K> keySet() {
          assertTrue(Thread.holdsLock(mutex));
          return super.keySet();
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. 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.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  10. 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)
Back to top