예제 #1
0
 public static int uniqueValue() {
   int time = (int) (Jimm.getCurrentGmtTime() & 0x7FFF);
   return (time << 16) | (rand.nextInt() & 0xFFFF);
 }
예제 #2
0
 public static int nextRandInt() {
   return Math.abs(Math.max(Integer.MIN_VALUE + 1, rand.nextInt()));
 }