Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for ImmutableMultimap (0.26 sec)

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

          derivedFeatures.remove(CollectionFeature.SERIALIZABLE);
        }
        return derivedFeatures;
      }
    
      private static final ImmutableMultimap<Feature<?>, Feature<?>> GET_FEATURE_MAP =
          ImmutableMultimap.<Feature<?>, Feature<?>>builder()
              .put(
                  MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                  CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ImmutableSortedMap.class, ImmutableSortedMap.of())
              .put(NavigableMap.class, Maps.unmodifiableNavigableMap(Maps.newTreeMap()))
              .put(Multimap.class, ImmutableMultimap.of())
              .put(ImmutableMultimap.class, ImmutableMultimap.of())
              .put(ListMultimap.class, ImmutableListMultimap.of())
              .put(ImmutableListMultimap.class, ImmutableListMultimap.of())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(new TypeToken<ImmutableSortedMap<String, Integer>>() {});
      }
    
      public void testImmutableMultimap() {
        assertFreshInstance(new TypeToken<ImmutableMultimap<String, Integer>>() {});
        assertNotInstantiable(new TypeToken<ImmutableMultimap<EmptyEnum, String>>() {});
      }
    
      public void testImmutableListMultimap() {
        assertFreshInstance(new TypeToken<ImmutableListMultimap<String, Integer>>() {});
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *
       * <p>Because an inverse of a list multimap can contain multiple pairs with the same key and
       * value, this method returns an {@code ImmutableListMultimap} rather than the {@code
       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       *
       * @since 11.0
       */
      @Override
      public ImmutableListMultimap<V, K> inverse() {
        ImmutableListMultimap<V, K> result = inverse;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            ImmutableSortedSet<Number> immutableSortedSet,
            Multiset<String> multiset,
            ImmutableMultiset<Integer> immutableMultiset,
            Multimap<String, Integer> multimap,
            ImmutableMultimap<String, Integer> immutableMultimap,
            Table<String, Integer, Exception> table,
            ImmutableTable<Integer, String, Exception> immutableTable) {
          calledWith(
              gender,
              integer,
              i,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
Back to top