Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 937 for map (0.01 seconds)

  1. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

        }
    
        /**
         * Gets a nested Map from the map.
         *
         * @param map The source map
         * @param key The key to look up
         * @return The nested Map, or null if the key doesn't exist or value is not a Map
         */
        @SuppressWarnings("unchecked")
        public static Map<String, Object> getMap(final Map<String, Object> map, final String key) {
            final Object value = map.get(key);
            if (value instanceof Map) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

            .testForwarding(
                Map.class,
                new Function<Map, Map>() {
                  @Override
                  public Map apply(Map delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        Map<Integer, String> map1 = ImmutableMap.of(1, "one");
        Map<Integer, String> map2 = ImmutableMap.of(2, "two");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  3. internal/crypto/metadata_test.go

    var isMultipartTests = []struct {
    	Metadata  map[string]string
    	Multipart bool
    }{
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: ""}},                          // 0
    	{Multipart: true, Metadata: map[string]string{"X-Minio-Internal-Encrypted-Multipart": ""}}, // 1
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: "some-value"}},                // 2
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 18.7K bytes
    - Click Count (0)
  4. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/StandardTable.java

      }
    
      @LazyInit private transient @Nullable Map<R, Map<C, V>> rowMap;
    
      @Override
      public Map<R, Map<C, V>> rowMap() {
        Map<R, Map<C, V>> result = rowMap;
        return (result == null) ? rowMap = createRowMap() : result;
      }
    
      Map<R, Map<C, V>> createRowMap() {
        return new RowMap();
      }
    
      @WeakOuter
      class RowMap extends ViewCachingAbstractMap<R, Map<C, V>> {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L);
        AtomicLongMap<String> map = AtomicLongMap.create();
        assertTrue(map.isEmpty());
        assertEquals(0, map.size());
        assertFalse(map.containsKey("1"));
        assertFalse(map.containsKey("2"));
        assertFalse(map.containsKey("3"));
        assertEquals(0L, map.get("1"));
        assertEquals(0L, map.get("2"));
        assertEquals(0L, map.get("3"));
    
        map.putAll(in);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

                return Map.of();
            }
        }
    
        /**
         * Gets a nested map value from the given map.
         *
         * @param map the source map.
         * @param key the key to look up.
         * @return the map value, or {@code null} if not found or not a map.
         */
        @SuppressWarnings("unchecked")
        protected Map<String, Object> getMapValue(final Map<String, Object> map, final String key) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

      }
    
      public void testTransformSingletonMapEquality() {
        Map<String, String> map =
            transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction());
        Map<String, String> expected = ImmutableMap.of("a", "1");
        assertMapsEqual(expected, map);
        assertThat(map.get("a")).isEqualTo(expected.get("a"));
      }
    
      public void testTransformIdentityFunctionEquality() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/DocMapTest.java

            Map<String, Object> parentMap = new LinkedHashMap<>();
            DocMap docMap = new DocMap(parentMap);
    
            docMap.put("lang", "fr");
    
            Set<Map.Entry<String, Object>> entrySet = docMap.entrySet();
            assertEquals(1, entrySet.size());
    
            String[] keys = entrySet.stream().map(Map.Entry::getKey).toArray(String[]::new);
            assertEquals("lang", keys[0]);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. 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);
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.5K bytes
    - Click Count (0)
Back to Top