- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for OneSizeGenerator (0.18 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
* @author George van den Driessche */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class OneSizeGenerator<T, E extends @Nullable Object> implements OneSizeTestContainerGenerator<T, E> { private final TestContainerGenerator<T, E> generator; private final CollectionSize collectionSize; public OneSizeGenerator(TestContainerGenerator<T, E> generator, CollectionSize collectionSize) { this.generator = generator;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
* @author George van den Driessche */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class OneSizeGenerator<T, E extends @Nullable Object> implements OneSizeTestContainerGenerator<T, E> { private final TestContainerGenerator<T, E> generator; private final CollectionSize collectionSize; public OneSizeGenerator(TestContainerGenerator<T, E> generator, CollectionSize collectionSize) { this.generator = generator;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.5K bytes - Viewed (0) -
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) -
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)