Returns a predefined amount of instances of a given class.
- Christophe Pollet
generatedClass he class to instantiate to create the entity.
quantity the amount of entities to return.
if the generator has more entity to generate (In other words, returns
would return an entity rather than throwing an exception.)
true if the iteration has more elements.
Returns the next generated entity.
Returns the class of generated entities.
- the class of generated entities.