public int nextInt(){
  int ret=counter.getAndIncrement();
  setLastInt(ret);
  return ret;
}

public int nextInt ( ) { int ret = counter . getAndIncrement ( ) ; setLastInt ( ret ) ; return ret ; }
if the generator returns numeric ( integer ) values , return the next value as an int . default is to return - 1 , which is appropriate for generators that do not return numeric values .
