←back to thread

230 points craigkerstiens | 1 comments | | HN request time: 0.201s | source
1. dfee ◴[] No.42579949[source]
I have an implementation function that computes N v7 UUIDs, sorts them, and returns them. This makes testing possible.

    Collection<UUID> generate(final int count);
I also have an interface that I can back with a RNG that generates auto incrementing values, sorts for testing, I have the experience of ints, but for production, my non-timestamp component is random.