wvlet.airframe.ulid.compat.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of airframe-ulid_native0.5_3 Show documentation
Show all versions of airframe-ulid_native0.5_3 Show documentation
ULID: Universally Unique Lexicographically Sortable Identifier
The newest version!
package wvlet.airframe.ulid
import java.security.{NoSuchAlgorithmException, SecureRandom}
import scala.util.Random
object compat:
val random: Random = NativeSecureRandom()
def sleep(millis: Int): Unit =
Thread.sleep(millis)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy