nextInt method

int nextInt()

Gets the next value as an integer.

Implementation

int nextInt() {
  _tracker.increment();
  return (_tracker.timestamp << 64) + (machineId << 48) + _tracker.sequence;
}