Package org.eclipse.net4j.util
Class UUIDGenerator
java.lang.Object
org.eclipse.net4j.util.UUIDGenerator
Generates 16 byte UUID values and can encode them to Strings, decode from Strings respectively.
- Since:
- 3.2
- Author:
- Eike Stepper
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
BYTES
public static final int BYTES- Since:
- 3.18
- See Also:
-
NODE_ADDRESS_BYTES
public static final int NODE_ADDRESS_BYTES- See Also:
-
DEFAULT
-
-
Constructor Details
-
UUIDGenerator
public UUIDGenerator(byte[] nodeAddress) -
UUIDGenerator
public UUIDGenerator()
-
-
Method Details
-
generate
-
generate
public void generate(byte[] uuid) -
encode
-
decode
-