@Test public void testRandomUUID() { Assert.assertEquals(RandomUtil.randomUUID().toString().length(), UUID.randomUUID().toString().length()); Assert.assertNotEquals(RandomUtil.randomUUID().toString(), RandomUtil.randomUUID().toString()); }
public static UUID randomUUID() { return new UUID(ThreadLocalRandom.current().nextLong(), ThreadLocalRandom.current().nextLong()); }
RandomUtil { public static UUID randomUUID() { return new UUID(ThreadLocalRandom.current().nextLong(), ThreadLocalRandom.current().nextLong()); } }
RandomUtil { public static UUID randomUUID() { return new UUID(ThreadLocalRandom.current().nextLong(), ThreadLocalRandom.current().nextLong()); } private  RandomUtil(); }
RandomUtil { public static UUID randomUUID() { return new UUID(ThreadLocalRandom.current().nextLong(), ThreadLocalRandom.current().nextLong()); } private  RandomUtil(); static UUID randomUUID(); }
RandomUtil { public static UUID randomUUID() { return new UUID(ThreadLocalRandom.current().nextLong(), ThreadLocalRandom.current().nextLong()); } private  RandomUtil(); static UUID randomUUID();  }