Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OneSizeGenerator (0.07 sec)

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

          String oneSizeName =
              Platform.format(
                  "%s [collection size: %s]", name, collectionSize.toString().toLowerCase());
          OneSizeGenerator<T, E> oneSizeGenerator =
              new OneSizeGenerator<>(getSubjectGenerator(), (CollectionSize) collectionSize);
          Set<Feature<?>> oneSizeFeatures = copyToSet(features);
          oneSizeFeatures.add(collectionSize);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          }
    
          return mapGenerator.create(entries.toArray()).keySet();
        }
    
        @Override
        public K[] createArray(int length) {
          // TODO: with appropriate refactoring of OneSizeGenerator, we can perhaps
          // tidy this up and get rid of the casts here and in
          // MapValueCollectionGenerator.
    
          return ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createKeyArray(length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top