Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,041 for maps (0.09 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * in the following code fragment:
       *
       * {@snippet :
       * Set<Object> identityHashSet = Sets.newSetFromMap(
       *     new IdentityHashMap<Object, Boolean>());
       * }
       *
       * <p>The returned set is serializable if the backing map is.
       *
       * @param map the backing map
       * @return the set backed by the map
       * @throws IllegalArgumentException if {@code map} is not empty
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.LocalCache.Strength.STRONG;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Function;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.collect.ImmutableSet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeResolver.java

        private final ImmutableMap<TypeVariableKey, Type> map;
    
        TypeTable() {
          this.map = ImmutableMap.of();
        }
    
        private TypeTable(ImmutableMap<TypeVariableKey, Type> map) {
          this.map = map;
        }
    
        /** Returns a new {@code TypeResolver} with {@code variable} mapping to {@code type}. */
        final TypeTable where(Map<TypeVariableKey, ? extends Type> mappings) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
      }
    
      // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and
      // Maps.filterValues() are not tested with removeIf() since Maps are not
      // Iterable.  Those returned by Iterators.filter() and Iterables.filter()
      // are not tested because they are unmodifiable.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Platform.java

          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return CompactHashMap.createWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

        }
    
        /**
         * Adds all key-value pairs from the specified map to this parameter container.
         *
         * @param map the map containing parameters to add, must not be null
         */
        public void putAll(final Map<String, String> map) {
            params.putAll(map);
        }
    
        /**
         * Checks if the specified key exists in the parameter map.
         *
         * @param key the key to check for existence
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

      }
    
      public void testCopyOf_map_empty() {
        Map<Class<?>, Object> in = emptyMap();
        ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in);
        assertTrue(map.isEmpty());
        assertSame(map, ImmutableClassToInstanceMap.of());
        assertSame(map, ImmutableClassToInstanceMap.copyOf(map));
      }
    
      public void testOf_zero() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

      }
    
      /**
       * Implements {@code Multimap.put()} -- and no other methods -- for a {@code Map} by ignoring all
       * but the latest value for each key. This class exists only so that we can use {@link
       * MultimapsCollectionTest#populateMultimapForGet(Multimap, String[])} and similar methods to
       * populate a map to be passed to {@link Multimaps#forMap(Map)}. All tests should run against the
       * result of {@link #build()}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(2, map.size());
    
        assertEquals(0, (int) map.getInstance(int.class));
        assertEquals(1, (int) map.getInstance(Integer.class));
    
        assertEquals(0, (int) map.putInstance(int.class, null));
        assertEquals(1, (int) map.putInstance(Integer.class, null));
    
        assertNull(map.getInstance(int.class));
        assertNull(map.getInstance(Integer.class));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Serialization.java

      static <K extends @Nullable Object, V extends @Nullable Object> void writeMap(
          Map<K, V> map, ObjectOutputStream stream) throws IOException {
        stream.writeInt(map.size());
        for (Map.Entry<K, V> entry : map.entrySet()) {
          stream.writeObject(entry.getKey());
          stream.writeObject(entry.getValue());
        }
      }
    
      /**
       * Populates a map by reading an input stream, as part of deserialization. See {@link #writeMap}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top