Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for ImmutableMultimap (0.09 sec)

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

       *
       * <p>Because an inverse of a set multimap cannot contain multiple pairs with the same key and
       * value, this method returns an {@code ImmutableSetMultimap} rather than the {@code
       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       */
      @Override
      public ImmutableSetMultimap<V, K> inverse() {
        ImmutableSetMultimap<V, K> result = inverse;
        return (result == null) ? (inverse = invert()) : result;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testTreeMultimapDerived() {
        TreeMultimap<DerivedComparable, DerivedComparable> multimap = TreeMultimap.create();
        assertEquals(ImmutableMultimap.of(), multimap);
        multimap.put(new DerivedComparable("foo"), new DerivedComparable("f"));
        multimap.put(new DerivedComparable("foo"), new DerivedComparable("o"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      public void testImmutableListMultimap() {
        doHasAllFauxveridesTest(ImmutableListMultimap.class, ImmutableMultimap.class);
      }
    
      public void testImmutableSetMultimap() {
        doHasAllFauxveridesTest(ImmutableSetMultimap.class, ImmutableMultimap.class);
      }
    
      public void testImmutableSortedMap() {
        doHasAllFauxveridesTest(ImmutableSortedMap.class, ImmutableMap.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      public void testImmutableListMultimap() {
        doHasAllFauxveridesTest(ImmutableListMultimap.class, ImmutableMultimap.class);
      }
    
      public void testImmutableSetMultimap() {
        doHasAllFauxveridesTest(ImmutableSetMultimap.class, ImmutableMultimap.class);
      }
    
      public void testImmutableSortedMap() {
        doHasAllFauxveridesTest(ImmutableSortedMap.class, ImmutableMap.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(SortedMultiset.class).isEmpty());
        assertEquals(ImmutableMultimap.of(), ArbitraryInstances.get(Multimap.class));
        assertEquals(ImmutableMultimap.of(), ArbitraryInstances.get(ImmutableMultimap.class));
        assertTrue(ArbitraryInstances.get(SortedSetMultimap.class).isEmpty());
        assertEquals(ImmutableTable.of(), ArbitraryInstances.get(Table.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/TraverserTest.java

       * <p>The {@code successors} are always returned in alphabetical order.
       */
      private static SuccessorsFunction<Character> createGraph(boolean directed, String... edges) {
        ImmutableMultimap.Builder<Character, Character> graphMapBuilder = ImmutableMultimap.builder();
        for (String edge : edges) {
          checkArgument(
              edge.length() == 2, "Expecting each edge to consist of 2 characters but got %s", edge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/TraverserTest.java

       * <p>The {@code successors} are always returned in alphabetical order.
       */
      private static SuccessorsFunction<Character> createGraph(boolean directed, String... edges) {
        ImmutableMultimap.Builder<Character, Character> graphMapBuilder = ImmutableMultimap.builder();
        for (String edge : edges) {
          checkArgument(
              edge.length() == 2, "Expecting each edge to consist of 2 characters but got %s", edge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      static <K, V> Multimap<K, V> generateMultimap(@Nullable K key, @Nullable V value) {
        return generateListMultimap(key, value);
      }
    
      @Generates
      static <K, V> ImmutableMultimap<K, V> generateImmutableMultimap(K key, V value) {
        return ImmutableMultimap.of(key, value);
      }
    
      @Generates
      static <K, V> ListMultimap<K, V> generateListMultimap(@Nullable K key, @Nullable V value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      static <K, V> Multimap<K, V> generateMultimap(@Nullable K key, @Nullable V value) {
        return generateListMultimap(key, value);
      }
    
      @Generates
      static <K, V> ImmutableMultimap<K, V> generateImmutableMultimap(K key, V value) {
        return ImmutableMultimap.of(key, value);
      }
    
      @Generates
      static <K, V> ListMultimap<K, V> generateListMultimap(@Nullable K key, @Nullable V value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/MediaTypeTest.java

    import com.google.common.base.Optional;
    import com.google.common.base.Predicate;
    import com.google.common.collect.FluentIterable;
    import com.google.common.collect.ImmutableListMultimap;
    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import java.lang.reflect.Field;
    import java.nio.charset.Charset;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top