Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 166 for multimaps (0.09 sec)

  1. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import com.google.common.collect.Iterators;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.MapDifference;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multimaps;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.PeekingIterator;
    import com.google.common.collect.Range;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FilteredEntryMultimap.java

    /**
     * Implementation of {@link Multimaps#filterEntries(Multimap, Predicate)}.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class FilteredEntryMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimap<K, V> implements FilteredMultimap<K, V> {
      final Multimap<K, V> unfiltered;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractMultimap.java

      @Override
      public boolean equals(@CheckForNull Object object) {
        return Multimaps.equalsImpl(this, object);
      }
    
      /**
       * Returns the hash code for this multimap.
       *
       * <p>The hash code of a multimap is defined as the hash code of the map view, as returned by
       * {@link Multimap#asMap}.
       *
       * @see Map#hashCode
       */
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMultimap.java

      @Override
      public boolean equals(@CheckForNull Object object) {
        return Multimaps.equalsImpl(this, object);
      }
    
      /**
       * Returns the hash code for this multimap.
       *
       * <p>The hash code of a multimap is defined as the hash code of the map view, as returned by
       * {@link Multimap#asMap}.
       *
       * @see Map#hashCode
       */
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.TestContainerGenerator;
    import java.util.Collection;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates multimaps, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.TestContainerGenerator;
    import java.util.Collection;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates multimaps, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *
       * @throws NullPointerException if any key or value in {@code multimap} is null
       */
      public static <K, V> ImmutableSetMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap) {
        return copyOf(multimap, null);
      }
    
      private static <K, V> ImmutableSetMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap,
          @CheckForNull Comparator<? super V> valueComparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredKeyListMultimap.java

    import com.google.common.base.Predicate;
    import java.util.List;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterKeys(ListMultimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class FilteredKeyListMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FilteredEntrySetMultimap.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterEntries(SetMultimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class FilteredEntrySetMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top