Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 372 for setKey (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

                        for (Object object : elements) {
                          Entry<Class, Impl> entry = (Entry<Class, Impl>) object;
                          map.putInstance(entry.getKey(), entry.getValue());
                        }
                        return (Map) map;
                      }
                    })
                .named("MutableClassToInstanceMap")
                .withFeatures(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. api/maven-api-model/src/main/mdo/maven.mdo

         */
        public void flushPluginMap() {
        }
    
        /**
         * @return a Map of plugins field with {@code Plugins#getKey()} as key
         * @see Plugin#getKey()
         */
        public Map<String, Plugin> getPluginsAsMap() {
            return getPlugins().stream().collect(Collectors.toMap(plugin -> plugin.getKey(), plugin -> plugin));
        }
                ]]>
              </code>
            </codeSegment>
            <codeSegment>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      public void testPut_nullValueSupported() {
        Entry<K, V> nullValueEntry = entry(k3(), null);
        assertNull(
            "putIfAbsent(key, null) should return null",
            getMap().putIfAbsent(nullValueEntry.getKey(), nullValueEntry.getValue()));
        expectAdded(nullValueEntry);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/MemoryUtil.java

                return size;
            }
            if (obj instanceof Map<?, ?>) {
                long size = 0;
                for (final Map.Entry<?, ?> entry : ((Map<?, ?>) obj).entrySet()) {
                    size += sizeOf(entry.getKey());
                    size += sizeOf(entry.getValue());
                }
                return size;
            }
            return 16L;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

              Map.Entry<E, Integer> mapEntry = backingEntries.next();
              return new Multisets.AbstractEntry<E>() {
                @Override
                public E getElement() {
                  return mapEntry.getKey();
                }
    
                @Override
                public int getCount() {
                  Integer frequency = backingMap.get(getElement());
                  return (frequency == null) ? 0 : frequency;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcBinding.java

            if (this.options != null) {
                for (final Entry<String, Object> entry : this.options.entrySet()) {
                    ret.append(",").append(entry.getKey()).append("=").append(entry.getValue());
                }
            }
            ret.append("]");
            return ret.toString();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertEquals(123, item.getId());
            assertEquals("and", item.getInput());
            assertNull(item.getNewInput());
        }
    
        public void test_getNewInput_setNewInput() {
            // Test getter and setter for newInput
            StopwordsItem item = new StopwordsItem(1, "or");
            assertNull(item.getNewInput());
    
            item.setNewInput("nor");
            assertEquals("nor", item.getNewInput());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

              .containsAtLeastElementsIn(EnumSet.complementOf(EnumSet.of(UNNECESSARY)));
          for (Map.Entry<RoundingMode, Double> entry : expectedValues.entrySet()) {
            RoundingMode mode = entry.getKey();
            Double expectation = entry.getValue();
            assertWithMessage("roundToDouble(" + input + ", " + mode + ")")
                .that(BigDecimalMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

        }
    
        // Test numOfThreads setter
        public void test_numOfThreads() {
            assertEquals(1, thumbnailJob.numOfThreads);
    
            GenerateThumbnailJob result = thumbnailJob.numOfThreads(4);
    
            assertSame(thumbnailJob, result);
            assertEquals(4, thumbnailJob.numOfThreads);
        }
    
        // Test cleanup setter
        public void test_cleanup() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top