Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 637 for putAll (0.29 sec)

  1. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          }
          return this;
        }
    
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(Map<? extends K, ? extends V> map) {
          return putAll(map.entrySet());
        }
    
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(Iterable<? extends Entry<? extends K, ? extends V>> entries) {
          for (Entry<? extends K, ? extends V> entry : entries) {
            put(entry);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. 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<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

            }
            validateFields(body, this::throwValidationErrorApi);
            body.crudMode = CrudMode.CREATE;
            final Map<String, Object> doc = getDoc(body).map(entity -> {
                try {
                    entity.putAll(fessConfig.convertToStorableDoc(body.doc));
    
                    final String newId = ComponentUtil.getCrawlingInfoHelper().generateId(entity);
                    entity.put(fessConfig.getIndexFieldId(), newId);
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        expectedTable.put('a', 2, "baz");
        Table<Character, Integer, String> otherTable = HashBasedTable.create();
        otherTable.put('b', 1, "bar");
        otherTable.put('a', 2, "baz");
        assertEquals(expectedTable, builder.putAll(otherTable).build());
      }
    
      public void testBuilder_withImmutableCell() {
        ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>();
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

     * the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change
     * the behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code putAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardPutAll} method.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/exentity/User.java

                sourceMap.put("groups", groups);
            }
            if (roles != null) {
                sourceMap.put("roles", roles);
            }
            if (attributes != null) {
                sourceMap.putAll(attributes);
            }
            return sourceMap;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  8. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  9. 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);
            }
        }
    
        public String toString() {
            StringBuilder buffer = new StringBuilder("ManagedVersionMap (" + size() + " entries)\n");
            Iterator<String> iter = keySet().iterator();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

                        if (docStream != null) {
                            Map<String, Expression> doco = parseExpressionDocumentation(docStream);
    
                            expressionDocumentation.putAll(doco);
                        }
                    } catch (IOException e) {
                        throw new ExpressionDocumentationException(
                                "Failed to read documentation for expression root: " + root, e);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
Back to top