I was wondering what the easiest way to convert a UUID to a unique integer would be? I have tried using the hash code but people tell me that it is not going to always be un
You may convert uuid to BigInteger and keep it unique.
BigInteger big = new BigInteger(uuid, 16);