Package org.instancio.internal
Class RandomHelper
java.lang.Object
org.instancio.internal.RandomHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic Random
resolveRandom
(@Nullable Long settingsSeed, @Nullable Long withSeed) Precedence of supplied seed values.
-
Method Details
-
resolveRandom
public static Random resolveRandom(@Nullable @Nullable Long settingsSeed, @Nullable @Nullable Long withSeed) Precedence of supplied seed values.withSeed(long)
withSettings(Settings)
@WithSettings Settings
@Seed(long)
instancio.properties
- random seed
- Parameters:
settingsSeed
- seed fromSettings
withSeed
- seed fromwithSeed()
- Returns:
- random instance resolved using the above precedence rules
-