Say I have two UUID instances:
uuid1 = UUID.randomUUID();
uuid2 = UUID.randomUUID();
If those two compare such that uuid1
is less than uuid2
i.e.,
uuid1.compareTo(uuid2) // -1
is it always true that their string representations will compare to give the same result, i.e.,
uuid1.toString().compareTo(uuid2.toString()) // -1 ????