totalLength method

int totalLength()

Implementation

int totalLength() {
  if (min_count == max_count) {
    return min_count;
  }
  return Random().nextInt(max_count - min_count + 1) + min_count;
}