Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for TreeMultimap (0.2 sec)

  1. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        return suite;
      }
    
      protected SetMultimap<String, Integer> create() {
        return TreeMultimap.create();
      }
    
      /** Create and populate a {@code TreeMultimap} with the natural ordering of keys and values. */
      private TreeMultimap<String, Integer> createPopulate() {
        TreeMultimap<String, Integer> multimap = TreeMultimap.create();
        multimap.put("google", 2);
        multimap.put("google", 6);
        multimap.put("foo", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

    import java.util.Map;
    
    /**
     * Test {@code TreeMultimap.asMap().subMap()} with {@link MapInterfaceTest}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class SubMapMultimapAsMapImplementsMapTest extends AbstractMultimapAsMapImplementsMapTest {
    
      public SubMapMultimapAsMapImplementsMapTest() {
        super(true, true, true);
      }
    
      private TreeMultimap<String, Integer> createMultimap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

      private SetMultimap<String, Integer> create() {
        return TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
      }
    
      /** Create and populate a {@code TreeMultimap} with explicit comparators. */
      private TreeMultimap<@Nullable String, @Nullable Integer> createPopulate() {
        TreeMultimap<@Nullable String, @Nullable Integer> multimap =
            TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      public void testUnmodifiableTreeMultimap() {
        checkUnmodifiableMultimap(TreeMultimap.<String, Integer>create(), false, "null", 42);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializingUnmodifiableTreeMultimap() {
        Multimap<String, Integer> unmodifiable =
            prepareUnmodifiableTests(TreeMultimap.<String, Integer>create(), false, "null", 42);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import com.google.common.collect.SortedSetMultimap;
    import com.google.common.collect.Table;
    import com.google.common.collect.Tables;
    import com.google.common.collect.TreeBasedTable;
    import com.google.common.collect.TreeMultimap;
    import com.google.common.io.ByteSink;
    import com.google.common.io.ByteSource;
    import com.google.common.io.ByteStreams;
    import com.google.common.io.CharSink;
    import com.google.common.io.CharSource;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

                    CollectionSize.ANY)
                .createTestSuite());
        suite.addTestSuite(HashMultimapTest.class);
        return suite;
      }
    
      /*
       * The behavior of toString() is tested by TreeMultimap, which shares a
       * lot of code with HashMultimap and has deterministic iteration order.
       */
      public void testCreate() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/HashMultimapTest.java

                    CollectionSize.ANY)
                .createTestSuite());
        suite.addTestSuite(HashMultimapTest.class);
        return suite;
      }
    
      /*
       * The behavior of toString() is tested by TreeMultimap, which shares a
       * lot of code with HashMultimap and has deterministic iteration order.
       */
      public void testCreate() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import com.google.common.collect.SortedSetMultimap;
    import com.google.common.collect.Table;
    import com.google.common.collect.Tables;
    import com.google.common.collect.TreeBasedTable;
    import com.google.common.collect.TreeMultimap;
    import com.google.common.io.ByteSink;
    import com.google.common.io.ByteSource;
    import com.google.common.io.ByteStreams;
    import com.google.common.io.CharSink;
    import com.google.common.io.CharSource;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        TreeMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
            return TreeMultimap.create(contents);
          }
        },
        ImmutableSetMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

       * HashMultimap#create()}, {@link LinkedHashMultimap#create()}, {@link
       * LinkedListMultimap#create()}, {@link TreeMultimap#create()}, and {@link
       * TreeMultimap#create(Comparator, Comparator)} won't suffice.
       *
       * <p>Note: the multimap assumes complete ownership over of {@code map} and the collections
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top