void function ( long arg0 ) { this . seed = ( arg0 ^ 0x5DEECE66DL ) & ( ( 1L << 48 ) - 1 ) ; haveNextNextGaussian = false ; }
sets the seed for this pseudorandom number generator . as described above , two instances of the same random class , starting with the same seed , should produce the same results , if the same methods are called . the implementation for java.util.random is : public synchronized void setseed long seed this.seed = seed ^ 0x5deece66dl & 1l < < 48 - 1 ; havenextnextgaussian = false ; concode_field_sep long seed concode_elem_sep long serialVersionUID concode_elem_sep boolean haveNextNextGaussian concode_elem_sep double nextNextGaussian concode_field_sep int next concode_elem_sep float nextFloat concode_elem_sep int nextInt concode_elem_sep int nextInt concode_elem_sep boolean nextBoolean concode_elem_sep long nextLong concode_elem_sep double nextDouble concode_elem_sep double nextGaussian concode_elem_sep void nextBytes