Interface RandomGenerator<Value>

Type Parameters:
Value - The type of value to generate
All Superinterfaces:
Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RandomGenerator<Value> extends Serializable
A RandomGenerator aims to provide a random value of a given type. Any value of this type can be generated.

A RandomGenerator is a FunctionalInterface. It is not intended to be directly implemented by a class, but instead to request a method for generating random values, usually by using lambda expressions.
Author:
Matthieu Vergne