Class CollectionGenerator<T>

java.lang.Object
org.instancio.internal.generator.AbstractGenerator<Collection<T>>
org.instancio.internal.generator.util.CollectionGenerator<T>
All Implemented Interfaces:
Generator<Collection<T>>, GeneratorSpec<Collection<T>>, CollectionGeneratorSpec<T>
Direct Known Subclasses:
CollectionGeneratorSpecImpl

public class CollectionGenerator<T> extends AbstractGenerator<Collection<T>> implements CollectionGeneratorSpec<T>
  • Field Details

    • minSize

      protected int minSize
    • maxSize

      protected int maxSize
    • nullable

      protected boolean nullable
    • nullableElements

      protected boolean nullableElements
    • withElements

      protected List<Object> withElements
    • collectionType

      protected Class<?> collectionType
    • isDelegating

      protected boolean isDelegating
  • Constructor Details

  • Method Details