Package org.lobobrowser.util
Class ID
java.lang.Object
org.lobobrowser.util.ID
- Author:
- J. H. S.
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
static long
static long
Gets a process ID that is nearly guaranteed to be globally unique.static String
getHexString
(byte[] bytes) static byte[]
getMD5Bytes
(String content) static int
random
(int min, int max)
-
Method Details
-
generateLong
public static long generateLong() -
generateInt
public static int generateInt() -
getMD5Bytes
-
getHexString
-
getGlobalProcessID
public static long getGlobalProcessID()Gets a process ID that is nearly guaranteed to be globally unique. -
random
public static int random(int min, int max)
-