Class SetGenerators.ImmutableSortedSetSubsetAsListGenerator
java.lang.Object
com.google.common.collect.testing.TestStringListGenerator
com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetSubsetAsListGenerator
- All Implemented Interfaces:
TestCollectionGenerator<String>, TestContainerGenerator<Collection<String>, String>, TestListGenerator<String>
- Enclosing class:
SetGenerators
public static class SetGenerators.ImmutableSortedSetSubsetAsListGenerator
extends TestStringListGenerator
- Author:
- Kevin Bourrillion, Jared Levy, Hayward Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new collection containing the given elements; implement this method instead ofTestStringListGenerator.create(Object...).Methods inherited from class TestStringListGenerator
create, createArray, order, samplesModifier and TypeMethodDescriptionCreates a new container containing the given elements.String[]createArray(int length) Helper method to create an array of the appropriate type used by this generator.Returns the original element list, unchanged.samples()Returns the sample elements that this generate populates its container with.
-
Constructor Details
-
ImmutableSortedSetSubsetAsListGenerator
public ImmutableSortedSetSubsetAsListGenerator()
-
-
Method Details
-
create
Description copied from class:TestStringListGeneratorCreates a new collection containing the given elements; implement this method instead ofTestStringListGenerator.create(Object...).- Specified by:
createin classTestStringListGenerator
-