Package net.minestom.server.utils
Class UniqueIdUtils
java.lang.Object
net.minestom.server.utils.UniqueIdUtils
An utilities class for
UUID
.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isUniqueId
(@NotNull String input) Checks whether theinput
string is anUUID
.
-
Field Details
-
UUID_GROUP_REPLACEMENT
- See Also:
-
UNIQUE_ID_PATTERN
-
-
Method Details
-
isUniqueId
Checks whether theinput
string is anUUID
.- Parameters:
input
- The input string to be checked- Returns:
true
if the input an unique identifier, otherwisefalse
-