/** * Creates a time-based version 1 UUID. * * <p>To use this method, it must be able to access a special <a * href="http://johannburkard.de/software/uuid/">UUID library</a>. If you use Maven, you should * add the following dependency: * * <blockquote> * * <pre><code data-type="xml">{@literal * <dependency> * <groupId>com.eaio.uuid</groupId> * <artifactId>uuid</artifactId> * <version>3.2</version> * </dependency>}</code></pre> * * </blockquote> * * @deprecated Use the UUID library directy. */ @Deprecated public static UUID createVersion1Uuid() { com.eaio.uuid.UUID uuid = new com.eaio.uuid.UUID(); return new UUID(uuid.getTime(), uuid.getClockSeqAndNode()); }