Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 2,582 for map (0.01 seconds)

  1. 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)
  2. .github/workflows/update-rbe.yml

            # TF 2.9
            map sigbuild-r2.9 2.9-python3.9
            map sigbuild-r2.9-python3.8 2.9-python3.8
            map sigbuild-r2.9-python3.9 2.9-python3.9
            map sigbuild-r2.9-python3.10 2.9-python3.10
            # TF 2.10
            map sigbuild-r2.10 2.10-python3.9
            map sigbuild-r2.10-python3.8 2.10-python3.8
            map sigbuild-r2.10-python3.9 2.10-python3.9
            map sigbuild-r2.10-python3.10 2.10-python3.10
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 7.2K bytes
    - Click Count (1)
  3. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

        Tree {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            Map<Element, Element> map = Maps.newTreeMap();
            for (Element element : keys) {
              map.put(element, element);
            }
            return map;
          }
        },
        SkipList {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            Map<Element, Element> map = new ConcurrentSkipListMap<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.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
    - 9.5K bytes
    - Click Count (0)
  8. 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)
  9. 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));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        map.remove(4);
        testHasMapEntriesInOrder(map, 1, "a", 3, "d", 2, "c");
      }
    
      public void testInsertionOrderAfterRemoveLastEntry() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top