Class ListGenerators.CharactersOfStringGenerator
java.lang.Object
com.google.common.collect.testing.TestCharacterListGenerator
com.google.common.collect.testing.google.ListGenerators.CharactersOfStringGenerator
- All Implemented Interfaces:
TestCollectionGenerator<Character>, TestContainerGenerator<Collection<Character>, Character>, TestListGenerator<Character>
- Enclosing class:
ListGenerators
- Author:
- Hayward Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new collection containing the given elements; implement this method instead ofTestCharacterListGenerator.create(Object...).Methods inherited from class TestCharacterListGenerator
create, createArray, order, samplesModifier and TypeMethodDescriptionCreates a new container containing the given elements.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
-
CharactersOfStringGenerator
public CharactersOfStringGenerator()
-
-
Method Details
-
create
Description copied from class:TestCharacterListGeneratorCreates a new collection containing the given elements; implement this method instead ofTestCharacterListGenerator.create(Object...).- Specified by:
createin classTestCharacterListGenerator
-