|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| Random.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
package nmp.util;
|
|
| 2 |
|
|
| 3 |
public class Random |
|
| 4 |
extends java.util.Random
|
|
| 5 |
{
|
|
| 6 | 0 |
public Random( long seed) { |
| 7 | 0 |
super( seed);
|
| 8 |
} |
|
| 9 |
/**
|
|
| 10 |
* Returns an integer between 0 and max - 1
|
|
| 11 |
*/
|
|
| 12 | 0 |
public int nextInt( int max) { |
| 13 | 0 |
return Math.abs( nextInt()) % max;
|
| 14 |
} |
|
| 15 |
} |
|
| 16 |
|
|
||||||||||