Class LazyGen<T>

  • Type Parameters:
    T - the type parameter
    All Implemented Interfaces:
    org.quicktheories.api.AsString<T>, org.quicktheories.core.Gen<T>

    public class LazyGen<T>
    extends SolrGen<T>
    The type Lazy gen.
    • Constructor Detail

      • LazyGen

        public LazyGen​(Supplier<SolrGen<T>> genSupplier)
        Instantiates a new Lazy gen.
        Parameters:
        genSupplier - the gen supplier
    • Method Detail

      • generate

        public T generate​(org.quicktheories.core.RandomnessSource in)
        Specified by:
        generate in interface org.quicktheories.core.Gen<T>
        Overrides:
        generate in class SolrGen<T>