UUID is an implementation of the UUIDs and GUIDs specification in Java. #Generate UUIDs #UUID implementation #GUID implementation #UUID #Generator #Java
UUID is an implementation of the UUIDs and GUIDs specification in Java. UUIDs are 128 bit long identifiers that are guaranteed to be unique.
Download the latest version and extract the uuid.jar file from the archive. Open a command prompt and type:
> java -jar uuid.jar
A UUID should get printed out. You should be able to compile the following example if uuid.jar is in your classpath: import com.eaio.uuid.UUID;
public class UUIDTest { public static void main(String[] args) { UUID u = new UUID(); System.out.println(u); } }
Try assembling UUIDs yourself:
UUID u = new UUID(4242L, 4242L); Of course, comparing and equality testing is fully implemented: UUID u1 = new UUID(4242L, 0L); UUID u2 = new UUID(5203L, 9412); System.out.println(u1.equals(u2)); // prints out "false" System.out.println(u1.compareTo(u2)); // prints out "-1"
As well as cloning:
UUID u1 = new UUID(4242L, 0L); UUID u2 = (UUID) u1.clone(); UUID u3 = new UUID(u1); // or use the clone constructor
Keep in mind that this UUID implementation has public fields (for compatibility with the EJB primary key specification), so cloning should be used for security purposes between in-VM system boundaries.
What's New in This Release:
� This release corrects MAC address detection on Mac OS X Leopard.
UUID 2.1.5
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- filename:
- uuid-2.1.5.tar.gz
- main category:
- Programming
- developer:
- visit homepage
Windows Sandbox Launcher 1.0.0
Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work
Context Menu Manager 3.3.3.1
ShareX 16.0.1
4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655
calibre 7.9.0
Zoom Client 6.0.4.38135
IrfanView 4.67
Bitdefender Antivirus Free 27.0.35.146
7-Zip 23.01 / 24.04 Beta
- IrfanView
- Bitdefender Antivirus Free
- 7-Zip
- Windows Sandbox Launcher
- Microsoft Teams
- Context Menu Manager
- ShareX
- 4k Video Downloader
- calibre
- Zoom Client