Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for SortedSetMultimap (0.26 sec)

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

            .testForwarding(
                SortedSetMultimap.class,
                new Function<SortedSetMultimap, SortedSetMultimap<?, ?>>() {
                  @Override
                  public SortedSetMultimap<?, ?> apply(SortedSetMultimap delegate) {
                    return wrap((SortedSetMultimap<?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedSetMultimapTest.java

            .testForwarding(
                SortedSetMultimap.class,
                new Function<SortedSetMultimap, SortedSetMultimap<?, ?>>() {
                  @Override
                  public SortedSetMultimap<?, ?> apply(SortedSetMultimap delegate) {
                    return wrap((SortedSetMultimap<?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertSame(setMultimap.asMap(), map);
      }
    
      public void testAsMap_sortedSetMultimap() {
        SortedSetMultimap<String, Integer> sortedSetMultimap = TreeMultimap.create();
        Map<String, SortedSet<Integer>> map = Multimaps.asMap(sortedSetMultimap);
        assertSame(sortedSetMultimap.asMap(), map);
      }
    
      public void testForMap() {
        Map<String, Integer> map = Maps.newHashMap();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

      @GwtIncompatible // doesn't build without explicit type parameters on build() methods
      public void testGenerics() {
        ListMultimap<String, Integer> a = MultimapBuilder.hashKeys().arrayListValues().build();
        SortedSetMultimap<String, Integer> b = MultimapBuilder.linkedHashKeys().treeSetValues().build();
        SetMultimap<String, Integer> c =
            MultimapBuilder.treeKeys(String.CASE_INSENSITIVE_ORDER).hashSetValues().build();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

          extends UnmodifiableSetMultimap<K, V> implements SortedSetMultimap<K, V> {
        UnmodifiableSortedSetMultimap(SortedSetMultimap<K, V> delegate) {
          super(delegate);
        }
    
        @Override
        public SortedSetMultimap<K, V> delegate() {
          return (SortedSetMultimap<K, V>) super.delegate();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertSame(setMultimap.asMap(), map);
      }
    
      public void testAsMap_sortedSetMultimap() {
        SortedSetMultimap<String, Integer> sortedSetMultimap = TreeMultimap.create();
        Map<String, SortedSet<Integer>> map = Multimaps.asMap(sortedSetMultimap);
        assertSame(sortedSetMultimap.asMap(), map);
      }
    
      public void testForMap() {
        Map<String, Integer> map = Maps.newHashMap();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MultimapBuilder.java

       *
       * @since 16.0
       */
      public abstract static class SortedSetMultimapBuilder<
              K0 extends @Nullable Object, V0 extends @Nullable Object>
          extends SetMultimapBuilder<K0, V0> {
        SortedSetMultimapBuilder() {}
    
        @Override
        public abstract <K extends K0, V extends V0> SortedSetMultimap<K, V> build();
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      }
    
      /** Test that creating one TreeMultimap from a SortedSetMultimap uses natural ordering. */
      public void testCreateFromSortedSetMultimap() {
        SortedSetMultimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR);
        tree.put(1.0, 2.0);
        tree.put(2.0, 3.0);
        tree.put(3.0, 4.0);
        tree.put(4.0, 5.0);
    
        SortedSetMultimap<Double, Double> sorted = Multimaps.unmodifiableSortedSetMultimap(tree);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code
     * SortedSetMultimap} implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class SortedSetMultimapTestSuiteBuilder<K, V>
        extends MultimapTestSuiteBuilder<K, V, SetMultimap<K, V>> {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

      @GwtIncompatible // doesn't build without explicit type parameters on build() methods
      public void testGenerics() {
        ListMultimap<String, Integer> a = MultimapBuilder.hashKeys().arrayListValues().build();
        SortedSetMultimap<String, Integer> b = MultimapBuilder.linkedHashKeys().treeSetValues().build();
        SetMultimap<String, Integer> c =
            MultimapBuilder.treeKeys(String.CASE_INSENSITIVE_ORDER).hashSetValues().build();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top