Created
May 19, 2017 05:11
-
-
Save wipiano/1178e3fcaf42e01ce31455628ca12374 to your computer and use it in GitHub Desktop.
UUID を生成する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.UUID.randomUUID | |
object UUID extends App { | |
println(randomUUID) | |
} | |
object UUIDLower extends App { | |
println(randomUUID.toString.toLowerCase) | |
} | |
object UUIDUpper extends App { | |
println(randomUUID.toString.toUpperCase) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment