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