Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for TestSortedMapGenerator (0.23 sec)

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

    /**
     * Creates sorted maps, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSortedMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestMapGenerator<K, V> {
      @Override
      SortedMap<K, V> create(Object... elements);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top