Package io.jmix.core

Class UuidProvider

java.lang.Object
io.jmix.core.UuidProvider

public final class UuidProvider extends Object
Provides static method to create UUIDs.
  • Method Details

    • createUuid

      public static UUID createUuid()
      Returns:
      new UUID
    • fromString

      public static UUID fromString(String str)
      Fast implementation of creating a UUID from the standard string representation.
      Borrowed from Apache Jackrabbit project which is licensed under the Apache License, Version 2.0. See http://www.apache.org/licenses/LICENSE-2.0.
      Parameters:
      str - a string according to UUID.toString() rules
      Returns:
      UUID instance