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