Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TestSortedMapGenerator (0.15 sec)

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

            .createTestSuite();
      }
    
      NavigableMapTestSuiteBuilder<K, V> subSuiteUsing(TestSortedMapGenerator<K, V> generator) {
        return using(generator);
      }
    
      static class DescendingTestMapGenerator<K, V> extends ForwardingTestMapGenerator<K, V>
          implements TestSortedMapGenerator<K, V> {
        DescendingTestMapGenerator(TestSortedMapGenerator<K, V> delegate) {
          super(delegate);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java

     */
    @GwtIncompatible
    public class ConcurrentNavigableMapTestSuiteBuilder<K, V>
        extends NavigableMapTestSuiteBuilder<K, V> {
    
      public static <K, V> ConcurrentNavigableMapTestSuiteBuilder<K, V> using(
          TestSortedMapGenerator<K, V> generator) {
        ConcurrentNavigableMapTestSuiteBuilder<K, V> result =
            new ConcurrentNavigableMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

          FeatureSpecificTestSuiteBuilder<
                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
              parentBuilder,
          Bound from,
          Bound to) {
        TestSortedMapGenerator<K, V> delegate =
            (TestSortedMapGenerator<K, V>) parentBuilder.getSubjectGenerator().getInnerGenerator();
    
        List<Feature<?>> features = new ArrayList<>();
        features.add(NoRecurse.SUBMAP);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

            .createTestSuite();
      }
    
      NavigableMapTestSuiteBuilder<K, V> subSuiteUsing(TestSortedMapGenerator<K, V> generator) {
        return using(generator);
      }
    
      static class DescendingTestMapGenerator<K, V> extends ForwardingTestMapGenerator<K, V>
          implements TestSortedMapGenerator<K, V> {
        DescendingTestMapGenerator(TestSortedMapGenerator<K, V> delegate) {
          super(delegate);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

              OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator) {
        TestContainerGenerator<Map<K, V>, Entry<K, V>> generator = mapGenerator.getInnerGenerator();
        if (generator instanceof TestSortedMapGenerator
            && ((TestSortedMapGenerator<K, V>) generator).create().keySet() instanceof SortedSet) {
          return new MapSortedKeySetGenerator<>(mapGenerator);
        } else {
          return new MapKeySetGenerator<>(mapGenerator);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

          FeatureSpecificTestSuiteBuilder<
                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
              parentBuilder,
          Bound from,
          Bound to) {
        TestSortedMapGenerator<K, V> delegate =
            (TestSortedMapGenerator<K, V>) parentBuilder.getSubjectGenerator().getInnerGenerator();
    
        List<Feature<?>> features = new ArrayList<>();
        features.add(NoRecurse.SUBMAP);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java

     */
    @GwtIncompatible
    public class ConcurrentNavigableMapTestSuiteBuilder<K, V>
        extends NavigableMapTestSuiteBuilder<K, V> {
    
      public static <K, V> ConcurrentNavigableMapTestSuiteBuilder<K, V> using(
          TestSortedMapGenerator<K, V> generator) {
        ConcurrentNavigableMapTestSuiteBuilder<K, V> result =
            new ConcurrentNavigableMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringSortedMapGenerator extends TestStringMapGenerator
        implements TestSortedMapGenerator<String, String> {
      @Override
      public Entry<String, String> belowSamplesLesser() {
        return mapEntry("!! a", "below view");
      }
    
      @Override
      public Entry<String, String> belowSamplesGreater() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringSortedMapGenerator extends TestStringMapGenerator
        implements TestSortedMapGenerator<String, String> {
      @Override
      public Entry<String, String> belowSamplesLesser() {
        return mapEntry("!! a", "below view");
      }
    
      @Override
      public Entry<String, String> belowSamplesGreater() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

    import com.google.common.collect.testing.NavigableSetTestSuiteBuilder;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.TestSortedMapGenerator;
    import com.google.common.collect.testing.TestStringSetGenerator;
    import com.google.common.collect.testing.TestStringSortedSetGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top