Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 40 for ImmutableListMultimap (0.37 seconds)

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

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Collection;
    
    /**
     * Implementation of {@link ImmutableListMultimap} with no entries.
     *
     * @author Mike Ward
     */
    @GwtCompatible
    final class EmptyImmutableSetMultimap extends ImmutableSetMultimap<Object, Object> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

       *     keyFunction} produces {@code null} for any key
       * @since 10.0
       */
      public static <K, V> ImmutableListMultimap<K, V> index(
          Iterator<V> values, Function<? super V, K> keyFunction) {
        checkNotNull(keyFunction);
        ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder();
        while (values.hasNext()) {
          V value = values.next();
          checkNotNull(value, values);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Multimaps.java

       *     keyFunction} produces {@code null} for any key
       * @since 10.0
       */
      public static <K, V> ImmutableListMultimap<K, V> index(
          Iterator<V> values, Function<? super V, K> keyFunction) {
        checkNotNull(keyFunction);
        ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder();
        while (values.hasNext()) {
          V value = values.next();
          checkNotNull(value, values);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ArrayListMultimap.java

      }
    
      /**
       * Reduces the memory used by this {@code ArrayListMultimap}, if feasible.
       *
       * @deprecated For a {@link ListMultimap} that automatically trims to size, use {@link
       *     ImmutableListMultimap}. If you need a mutable collection, remove the {@code trimToSize}
       *     call, or switch to a {@code HashMap<K, ArrayList<V>>}.
       */
      @Deprecated
      public void trimToSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return LinkedListMultimap.create(contents);
          }
        },
        ImmutableListMultimapImpl {
          @Override
          <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) {
            return ImmutableListMultimap.copyOf(contents);
          }
        };
    
        abstract <K, V> ListMultimap<K, V> create(Multimap<K, V> contents);
      }
    
      public enum RangeSetImpl {
        TreeRangeSetImpl {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ArrayListMultimap.java

      }
    
      /**
       * Reduces the memory used by this {@code ArrayListMultimap}, if feasible.
       *
       * @deprecated For a {@link ListMultimap} that automatically trims to size, use {@link
       *     ImmutableListMultimap}. If you need a mutable collection, remove the {@code trimToSize}
       *     call, or switch to a {@code HashMap<K, ArrayList<V>>}.
       */
      @Deprecated
      public void trimToSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return LinkedListMultimap.create(contents);
          }
        },
        ImmutableListMultimapImpl {
          @Override
          <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) {
            return ImmutableListMultimap.copyOf(contents);
          }
        };
    
        abstract <K, V> ListMultimap<K, V> create(Multimap<K, V> contents);
      }
    
      public enum RangeSetImpl {
        TreeRangeSetImpl {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

      public final <V> ImmutableMap<@NonNull E, V> toMap(Function<? super E, V> valueFunction) {
        return Maps.toMap((Iterable<@NonNull E>) getDelegate(), valueFunction);
      }
    
      /**
       * Creates an index {@code ImmutableListMultimap} that contains the results of applying a
       * specified function to each item in this {@code FluentIterable} of values. Each element of this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

      public final <V> ImmutableMap<@NonNull E, V> toMap(Function<? super E, V> valueFunction) {
        return Maps.toMap((Iterable<@NonNull E>) getDelegate(), valueFunction);
      }
    
      /**
       * Creates an index {@code ImmutableListMultimap} that contains the results of applying a
       * specified function to each item in this {@code FluentIterable} of values. Each element of this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  10. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.ImmutableCollection;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableListMultimap;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.collect.ImmutableMultiset;
    import com.google.common.collect.ImmutableSet;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top