Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 523 for putAll (0.2 sec)

  1. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      /** Creates an {@code AtomicLongMap} with the same mappings as the specified {@code Map}. */
      public static <K> AtomicLongMap<K> create(Map<? extends K, ? extends Long> m) {
        AtomicLongMap<K> result = create();
        result.putAll(m);
        return result;
      }
    
      /**
       * Returns the value associated with {@code key}, or zero if there is no value associated with
       * {@code key}.
       */
      public long get(K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            validateFields(form.doc, v -> throwValidationError(v, this::asEditHtml));
            verifyToken(this::asEditHtml);
            getDoc(form).ifPresent(entity -> {
                try {
                    entity.putAll(fessConfig.convertToStorableDoc(form.doc));
    
                    final String newId = ComponentUtil.getCrawlingInfoHelper().generateId(entity);
                    entity.put(fessConfig.getIndexFieldId(), newId);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. android/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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        @Override
        public Object put(final Object key, final Object value) {
            return getProperties().put(key, value);
        }
    
        @Override
        public void putAll(final Map<? extends Object, ? extends Object> t) {
            getProperties().putAll(t);
        }
    
        @Override
        public Object remove(final Object key) {
            return getProperties().remove(key);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Map<String, Integer> moreToPut = new LinkedHashMap<>();
        moreToPut.put("four", 4);
        moreToPut.put("five", 5);
    
        ImmutableMap<String, Integer> map =
            new Builder<String, Integer>().putAll(toPut).putAll(moreToPut).buildOrThrow();
        assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5);
      }
    
      public void testBuilderReuse() {
        Builder<String, Integer> builder = new Builder<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  6. 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)
  7. guava-tests/test/com/google/common/math/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)
  8. android/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(@CheckForNull Object key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  9. 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(@CheckForNull Object key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
          synchronized (mutex) {
            return delegate().putAll(key, values);
          }
        }
    
        @Override
        public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
          synchronized (mutex) {
            return delegate().putAll(multimap);
          }
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
Back to top