Package ru.ispras.fortress.data
Interface Random.TypedGenerator
-
- Enclosing class:
- Random
public static interface Random.TypedGenerator
The TypedGenerator interface is a common interface for objects that are responsible for generating data of some specific type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Data
generate(int size)
Generates random data.
-
-
-
Method Detail
-
generate
Data generate(int size)
Generates random data. Data type depends on the implementation.- Parameters:
size
- Data size.- Returns:
- Random data.
-
-