Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for Multimaps (0.04 sec)

  1. guava/src/com/google/common/collect/Multimaps.java

          Multimap<K, V> synchronizedMultimap(Multimap<K, V> multimap) {
        return Synchronized.multimap(multimap, null);
      }
    
      /**
       * Returns an unmodifiable view of the specified multimap. Query operations on the returned
       * multimap "read through" to the specified multimap, and attempts to modify the returned
       * multimap, either directly or through the multimap's views, result in an {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

          Multimap<K, V> synchronizedMultimap(Multimap<K, V> multimap) {
        return Synchronized.multimap(multimap, null);
      }
    
      /**
       * Returns an unmodifiable view of the specified multimap. Query operations on the returned
       * multimap "read through" to the specified multimap, and attempts to modify the returned
       * multimap, either directly or through the multimap's views, result in an {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

      protected Multimap<String, Integer> create() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE);
      }
    
      private static final Predicate<String> KEY_PREDICATE = key -> !Objects.equals(key, "badkey");
    
      public void testFilterKeys() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                      @Override
                      Multimap<String, String> transform(Multimap<String, String> multimap) {
                        return Multimaps.transformEntries(multimap, ENTRY_TRANSFORMER);
                      }
                    })
                .named("Multimaps.transformEntries[Multimap]")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.SUPPORTS_REMOVE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multimap.java

     *
     * <p>As with {@code Map}, the behavior of a {@code Multimap} is not specified if key objects
     * already present in the multimap change in a manner that affects {@code equals} comparisons. Use
     * caution if mutable objects are used as keys in a {@code Multimap}.
     *
     * <p>All methods that modify the multimap are optional. The view collections returned by the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableListMultimap.java

       *
       * @throws NullPointerException if any key or value in {@code multimap} is null
       */
      public static <K, V> ImmutableListMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap) {
        if (multimap.isEmpty()) {
          return of();
        }
    
        // TODO(lowasser): copy ImmutableSetMultimap by using asList() on the sets
        if (multimap instanceof ImmutableListMultimap) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

        return Multimaps.transformValues(
                ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity())
            .asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
        populate(delegate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MultimapBuilder.java

       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in sorted order.
       *
       * <p>For all multimaps generated by the resulting builder, the {@link Multimap#keySet()} can be
       * safely cast to a {@link java.util.SortedSet}, and the {@link Multimap#asMap()} can safely be
       * cast to a {@link java.util.SortedMap}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MultimapBuilder.java

       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in sorted order.
       *
       * <p>For all multimaps generated by the resulting builder, the {@link Multimap#keySet()} can be
       * safely cast to a {@link java.util.SortedSet}, and the {@link Multimap#asMap()} can safely be
       * cast to a {@link java.util.SortedMap}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

        Multimap<String, Integer> multimap = createMultimap();
        return multimap.asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> multimap = createMultimap();
        populate(multimap);
        return multimap.asMap();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top