软件包 | 描述 |
---|---|
java.util |
包含集合框架、遗留的集合类、事件模型、日期和时间的设施、国际化和各种实用工具类(一个字符串标记,一个随机数发生器,和一位阵列)。
|
Modifier and Type | Method and Description |
---|---|
static UUID |
UUID.fromString(String name)
从创建的字符串表示一个标准
UUID 在
toString() 方法描述。
|
static UUID |
UUID.nameUUIDFromBytes(byte[] name)
静态工厂来检索类型3(基于名称)根据指定的字节数组
UUID 。
|
static UUID |
UUID.randomUUID()
静态工厂取回4型(伪随机生成的UUID)。
|
Modifier and Type | Method and Description |
---|---|
int |
UUID.compareTo(UUID val)
这个UUID与指定UUID比较。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.