Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 512 for putAll (0.25 sec)

  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
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RangeMap.java

       *
       * @since 22.0
       */
      void putCoalescing(Range<K> range, V value);
    
      /** Puts all the associations from {@code rangeMap} into this range map (optional operation). */
      void putAll(RangeMap<K, ? extends V> rangeMap);
    
      /** Removes all associations from this range map (optional operation). */
      void clear();
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. 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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 09:03:48 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  4. 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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 38.4K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
         * Something slightly different happens when the entries are added all at
         * once; make sure that passes too.
         */
        map2.putAll(map1);
        assertWithMessage("table size after adding %s elements", size)
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          // don't let the entries get GCed
          List<Entry<Object, Object>> unused = warmUp(cache);
          Object newKey = new Object();
          Object newValue = new Object();
          cache.asMap().putAll(ImmutableMap.of(newKey, newValue));
          // this getUnchecked() call shouldn't be a cache miss; verified below
          assertThat(cache.getUnchecked(newKey)).isEqualTo(newValue);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/BloomFilterStrategies.java

         * LockFreeBitArray at the start of this method will be set in this LockFreeBitArray at the end
         * of this method.
         */
        void putAll(LockFreeBitArray other) {
          checkArgument(
              data.length() == other.data.length(),
              "BitArrays must be of equal length (%s != %s)",
              data.length(),
              other.data.length());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jan 08 14:27:16 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. 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()
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.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 the given entries to the built map. Duplicate keys, according to the comparator
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
Back to top