Interface Distribution

    • Method Detail

      • createNumberGenerator

        <T extends java.lang.Number> NonNullGenerator<T> createNumberGenerator​(java.lang.Class<T> numberType,
                                                                               T min,
                                                                               T max,
                                                                               T granularity,
                                                                               boolean unique)
        Create number generator non null generator.
        Type Parameters:
        T - the type parameter
        Parameters:
        numberType - the number type
        min - the min
        max - the max
        granularity - the granularity
        unique - the unique
        Returns:
        the non null generator
      • applyTo

        <T> Generator<T> applyTo​(Generator<T> source,
                                 boolean unique)
        Apply to generator.
        Type Parameters:
        T - the type parameter
        Parameters:
        source - the source
        unique - the unique
        Returns:
        the generator