parent
96b3de4226
commit
ef19f035f7
@ -0,0 +1,11 @@
|
|||||||
|
import java.util.Random;
|
||||||
|
import java.util.concurrent.Callable;
|
||||||
|
|
||||||
|
public class Singe implements Callable<Integer> {
|
||||||
|
Random random = new Random();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Integer call() throws Exception {
|
||||||
|
return random.nextInt(10);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue