Apache Tomcat® 9.0.87.redhat-00013
- java.lang.Object
-
- org.apache.catalina.tribes.util.UUIDGenerator
-
-
Method Summary
All Methods Static Methods Concrete Methods
| Modifier and Type |
Method and Description |
static void |
nextBytes(byte[] into,
int offset,
int length,
java.util.Random r)
Same as java.util.Random.nextBytes except this one we don't have to allocate a new byte array
|
static byte[] |
randomUUID(boolean secure) |
static byte[] |
randomUUID(boolean secure,
byte[] into,
int offset) |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
UUIDGenerator
public UUIDGenerator()
-
Method Detail
-
nextBytes
public static void nextBytes(byte[] into,
int offset,
int length,
java.util.Random r)
Same as java.util.Random.nextBytes except this one we don't have to allocate a new byte array
- Parameters:
into - byte[]
offset - int
length - int
r - Random
Apache Tomcat® 9.0.87.redhat-00013
Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.