Code example for Random

Methods: nextLong

0
  private boolean check() { 
    return (nextIndex < length);
  } 
   
  private void stage() { 
    long x = rnd.nextLong();
    nextIndex = Math.abs(x) % counter; 
  } 
   
}