Class SetGenerators.ImmutableSetUnsizedBuilderGenerator
java.lang.Object
com.google.common.collect.testing.TestStringSetGenerator
com.google.common.collect.testing.google.SetGenerators.ImmutableSetUnsizedBuilderGenerator
- All Implemented Interfaces:
TestCollectionGenerator<String>, TestContainerGenerator<Collection<String>, String>, TestSetGenerator<String>
- Enclosing class:
SetGenerators
public static class SetGenerators.ImmutableSetUnsizedBuilderGenerator
extends TestStringSetGenerator
- Author:
- Kevin Bourrillion, Jared Levy, Hayward Chan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TestStringSetGenerator
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 iteration ordering of elements, given the order in which they were added to the container.samples()Returns the sample elements that this generate populates its container with.
-
Constructor Details
-
ImmutableSetUnsizedBuilderGenerator
public ImmutableSetUnsizedBuilderGenerator()
-
-
Method Details
-
create
- Specified by:
createin classTestStringSetGenerator
-