(int bits)
| 38 | } |
| 39 | |
| 40 | protected int next(int bits) { |
| 41 | seed = ((seed * Mask) + 0xBL) & ((1L << 48) - 1); |
| 42 | return (int) (seed >>> (48 - bits)); |
| 43 | } |
| 44 | |
| 45 | public int nextInt(int limit) { |
| 46 | if (limit <= 0) { |
no outgoing calls
no test coverage detected