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 Summary

    Modifier and Type
    Method
    Description
    Returns the next value in the underlying generated sequence.

    Methods inherited from interface dev.nm.stat.random.Seedable

    seed
  • Method Details

    • next

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