- Type Parameters:
T
- result type
public final class Result<T>
extends Object
A result containing a created object and seed that was used for populating its values.
- Since:
- 1.5.1
-
Constructor Summary
Constructors
-
Method Summary
Returns the created object.
long
Returns the seed that was used to populate the created object.
-
Constructor Details
-
Result
public Result(@Nullable
T object,
long seed)
-
Method Details
-
get
Returns the created object.
- Returns:
- created object
- Since:
- 1.5.1
-
getSeed
public long getSeed()
Returns the seed that was used to populate the created object.
- Returns:
- the seed
- Since:
- 1.5.1
-