- Type Parameters:
V
- Type of the objects.
public interface Generator<V>
Generates objects of a certain type.
-
Method Summary
Modifier and Type |
Method |
Description |
V |
generate() |
Generates elements of the corresponding type.
|
void |
reset() |
Resets the generator.
|
void |
reset(V v) |
Resets the generator at some specific value
|
-
Method Details
-
Generates elements of the corresponding type.
- Returns:
- a new element.
-
void reset()
Resets the generator.
-
Resets the generator at some specific value
- Parameters:
v
- the value.