Interface ConcurrentCachedGenerator.Generator<T>

  • Type Parameters:
    T - the type of the generated items
    All Superinterfaces:
    Seedable
    Enclosing class:
    ConcurrentCachedGenerator<T>

    public static interface ConcurrentCachedGenerator.Generator<T>
    extends Seedable
    Defines a generic generator of type T.
    • Method Detail

      • next

        T next()
        Returns the next value in the underlying generated sequence.
        Returns:
        the next generated value