Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 620 for putAll (0.1 seconds)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         */
        @Test
        public void testPutAll() throws Exception {
            Map<String, String> m = new HashMap<String, String>();
            m.put("3", "test3");
            m.put("4", "test4");
            map.putAll(m);
            assertThat(map.get("3"), is("test3"));
            assertThat(map.get("4"), is("test4"));
            assertThat(map.size(), is(5));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object three = new Object();
    
        ConcurrentMap<Object, Object> map = cache.asMap();
        assertThat(map.put(one, two)).isNull();
        assertThat(map.get(one)).isSameInstanceAs(two);
        map.putAll(ImmutableMap.of(two, three));
        assertThat(map.get(two)).isSameInstanceAs(three);
        assertThat(map.putIfAbsent(one, three)).isSameInstanceAs(two);
        assertThat(map.get(one)).isSameInstanceAs(two);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object three = new Object();
    
        ConcurrentMap<Object, Object> map = cache.asMap();
        assertThat(map.put(one, two)).isNull();
        assertThat(map.get(one)).isSameInstanceAs(two);
        map.putAll(ImmutableMap.of(two, three));
        assertThat(map.get(two)).isSameInstanceAs(three);
        assertThat(map.putIfAbsent(one, three)).isSameInstanceAs(two);
        assertThat(map.get(one)).isSameInstanceAs(two);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

            // requireNonNull is safe, as discussed in rowComparator() below.
            new TreeBasedTable<>(
                requireNonNull(table.rowKeySet().comparator()), table.columnComparator());
        result.putAll(table);
        return result;
      }
    
      TreeBasedTable(Comparator<? super R> rowComparator, Comparator<? super C> columnComparator) {
        super(new TreeMap<R, Map<C, V>>(rowComparator), new Factory<C, V>(columnComparator));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                final Map<String, Object> contextMap = new HashMap<>();
                contextMap.put("doc", dataMap);
                final Map<String, Object> paramMap = new HashMap<>(dataMap.size() + 2);
                paramMap.putAll(dataMap);
                paramMap.put("value", target);
                paramMap.put("context", contextMap);
                target = evaluateValue(scriptType, template, paramMap);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbOperationException.java

         * @return this exception for chaining
         */
        public SmbOperationException withContext(Map<String, Object> contextMap) {
            if (contextMap != null) {
                this.context.putAll(contextMap);
            }
            return this;
        }
    
        // Getters
        public ErrorCode getErrorCode() {
            return errorCode;
        }
    
        public ErrorCategory getErrorCategory() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        if (source != null) {
                            docMap.putAll(source);
                        }
                        final Map<String, DocumentField> fields = hit.getFields();
                        if (fields != null) {
                            docMap.putAll(fields.entrySet()
                                    .stream()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                if (l != null) {
                    l.clearValue();
                }
            }
            return old;
        }
    
        void putAllSubstituted(Map<? extends String, ? extends String> m) {
            storage.putAll(m);
        }
    
        public String put(String key, List<String> commentLines, List<String> valueLines) {
            commentLines = new ArrayList<>(commentLines);
            valueLines = new ArrayList<>(valueLines);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                if (l != null) {
                    l.clearValue();
                }
            }
            return old;
        }
    
        void putAllSubstituted(Map<? extends String, ? extends String> m) {
            storage.putAll(m);
        }
    
        public String put(String key, List<String> commentLines, List<String> valueLines) {
            commentLines = new ArrayList<>(commentLines);
            valueLines = new ArrayList<>(valueLines);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  10. 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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top