@Test
public void testUuid3() {

    long t = System.currentTimeMillis();
    String ts = Long.toHexString(t);
    LOG.info("{} {} {}", t, ts, Long.parseLong(ts, 16));
    String hash = Integer.toHexString(ManagementFactory.getRuntimeMXBean().getName().hashCode());
    int ranlen = 32 - ts.length() - hash.length();
    StringBuilder buf = new StringBuilder(32);
    buf.append(ts);
    // buf.append("-");
    buf.append(hash);
    // buf.append("-");
    for (int i = 0; i < ranlen; i++) {
        buf.append(Integer.toHexString(ThreadLocalRandom.current().nextInt(0, 16)));
    }
    LOG.info("{} {}", ranlen, buf.toString());
    LOG.info("{}", Integer.toHexString(1));
}