Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,870 for map (0.01 sec)

  1. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(map.isEmpty(), is(false));
            assertThat(map.get(Foo.class.getTypeParameters()[0]), is(sameClass(Object.class)));
        }
    
        /**
         * @throws Exception
         */
        public void testGenericMethod() throws Exception {
            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Fuga.class);
            assertThat(map, is(notNullValue()));
            assertThat(map.isEmpty(), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            assertTrue(obj instanceof Map);
            final Map<String, String> map = (Map) obj;
            assertEquals("タイトル", map.get("title"));
            assertEquals("第一章 第一節 ほげほげふがふが LINK 第2章 第2節", map.get("body"));
            final List<String> list = new ArrayList<String>();
            list.add("リスト1");
            list.add("リスト2");
            list.add("リスト3");
            assertEquals(list, map.get("list"));
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

                        facetField = facetResponse.getFieldList().stream().map(field -> {
                            final Map<String, Object> fieldMap = new HashMap<>(2, 1f);
                            fieldMap.put("name", field.getName());
                            fieldMap.put("result", field.getValueCountMap().entrySet().stream().map(e -> {
                                final Map<String, Object> valueCount = new HashMap<>(2, 1f);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

            Map<String, Object> emptyProperties = Map.of();
            assertTrue(Features.deployBuildPom(emptyProperties));
    
            // Test with null properties
            assertTrue(Features.deployBuildPom(null));
        }
    
        @Test
        void testDeployBuildPomWithStringTrue() {
            // Test with string "true"
            Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, "true");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            }
        }
    
        /**
         * Copies from a {@literal Map} to another {@literal Map}.
         *
         * @param src The source {@literal Map}. Must not be {@literal null}.
         * @param dest The destination {@literal Map}. Must not be {@literal null}.
         */
        public static void copyMapToMap(final Map<String, ? extends Object> src, final Map<String, Object> dest) {
            copyMapToMap(src, dest, DEFAULT_OPTIONS);
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        map.put("bar", 1);
        map.put("foo", 2);
        map.put("bar", 3);
        map.put("bar", 4);
        assertEquals("[1, 2, 3, 4]", map.values().toString());
        map.values().remove(2);
        assertEquals("{bar=[1, 3, 4]}", map.toString());
      }
    
      public void testLinkedEntries() {
        Multimap<String, Integer> map = create();
        map.put("bar", 1);
        map.put("foo", 2);
        map.put("bar", 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        @Override
        protected final Map<String, String> create(Entry<String, String>[] entries) {
          HashMap<String, String> map = new HashMap<>();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
        }
    
        abstract Map<String, String> wrap(HashMap<String, String> map);
      }
    
      private static TestSuite wrappedHashMapTests(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        assertTrue(map.equals(map));
        assertTrue(makeEmptyMap().equals(map));
        assertEquals(emptyMap(), map);
        assertFalse(map.equals(emptySet()));
        // noinspection ObjectEqualsNull
        assertFalse(map.equals(null));
      }
    
      public void testGet() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        cast(key, value);
        return super.put(key, value);
      }
    
      @Override
      public void putAll(Map<? extends Class<? extends @NonNull B>, ? extends B> map) {
        Map<Class<? extends @NonNull B>, B> copy = new LinkedHashMap<>(map);
        for (Entry<? extends Class<? extends @NonNull B>, B> entry : copy.entrySet()) {
          cast(entry.getKey(), entry.getValue());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/GroupTests.java

            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            final Map<String, String> attributes = new HashMap<>();
            attributes.put("gidNumber", Integer.valueOf(id).toString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top