public final class Seed extends Object
| Modifier and Type | Method and Description |
|---|---|
static long[] |
get16Constants()
Returns an array of length
16 that contains 16 arbitrary
but fixed constants that can be used as fixed seed values. |
static long[] |
get1Constant()
Returns an array of length
1 that contains an arbitrary but fixed
constant that can be used as a fixed seed. |
static long[] |
get2Constants()
Returns an array of length
2 that contains 2 arbitrary
but fixed constants that can be used as fixed seed values. |
static long[] |
get4Constants()
Returns an array of length
4 that contains 4 arbitrary
but fixed constants that can be used as fixed seed values. |
static long[] |
get8Constants()
Returns an array of length
8 that contains 8 arbitrary
but fixed constants that can be used as fixed seed values. |
static long |
seed()
Returns a reasonably good pseudo-random long seed.
|
public static long seed()
public static long[] get1Constant()
1 that contains an arbitrary but fixed
constant that can be used as a fixed seed.1 fixed seedpublic static long[] get2Constants()
2 that contains 2 arbitrary
but fixed constants that can be used as fixed seed values.2 fixed seed valuespublic static long[] get4Constants()
4 that contains 4 arbitrary
but fixed constants that can be used as fixed seed values.4 fixed seed valuespublic static long[] get8Constants()
8 that contains 8 arbitrary
but fixed constants that can be used as fixed seed values.8 fixed seed valuespublic static long[] get16Constants()
16 that contains 16 arbitrary
but fixed constants that can be used as fixed seed values.16 fixed seed valuesCopyright © 2022. All rights reserved.