public class ParseUUID
extends java.lang.Object
BufferedString
containing a correct UUID.Constructor and Description |
---|
ParseUUID() |
Modifier and Type | Method and Description |
---|---|
static java.util.UUID |
attemptUUIDParse(BufferedString str)
Attempts to parse the provided
BufferedString as
a UUID into hash value in two longs. |
static java.lang.Long |
attemptUUIDParseHigh(BufferedString str) |
static boolean |
isUUID(BufferedString str)
Confirms whether the provided UUID is considered
valid.
|
public static boolean isUUID(BufferedString str)
str
- public static java.util.UUID attemptUUIDParse(BufferedString str)
BufferedString
as
a UUID into hash value in two longs.
Warning: as written, this method does modify the state
of the passed in BufferedString.str
- public static java.lang.Long attemptUUIDParseHigh(BufferedString str)