Package de.cuioss.test.generator
Interface TypedGenerator<T>
-
- Type Parameters:
T- identifying the type of objects to be generated
- All Known Implementing Classes:
BlindTextGenerator,CityGenerator,CollectionGenerator,DecoratorGenerator,DistinguishedNamesGenerator,EmailGenerator,FloatObjectGenerator,FullNameGenerator,LocalDateGenerator,LocalDateTimeGenerator,LocalTimeGenerator,MailSubjectGenerator,NonBlankStringGenerator,NumberGenerator,PersonGenerator,PhoneNumberGenerator,QuickCheckGeneratorAdapter,ShortObjectGenerator,StreetGenerator,StreetNameGenerator,URLGenerator,UUIDGenerator,UUIDStringGenerator,ZipCodeGenerator,ZonedDateTimeGenerator,ZoneOffsetGenerator
public interface TypedGenerator<T>
A generator creates instances of type T. The methodgetType()provides a default implementation usingnext()and reading the concreteClassof the returned element.- Author:
- Oliver Wolff
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<T>getType()Tnext()Generates the next instance.
-