本文整理了Java中org.safehaus.uuid.UUID.<init>()
方法的一些代码示例,展示了UUID.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。UUID.<init>()
方法的具体详情如下:
包路径:org.safehaus.uuid.UUID
类名称:UUID
方法名:<init>
暂无
代码示例来源:origin: org.opencms/opencms-core
/**
* Create a UUID based on a binary data array.<p>
*
* @param data a binary data array representing a UUID
*/
public CmsUUID(byte[] data) {
m_uuid = new UUID(data);
}
代码示例来源:origin: org.opencms/opencms-core
/**
* Create a UUID based on a String.<p>
*
* @param uuid a String representing a UUID
* @throws NumberFormatException in case uuid is not a valid UUID
*/
public CmsUUID(String uuid)
throws NumberFormatException {
m_uuid = new UUID(uuid);
}
代码示例来源:origin: org.opencms/opencms-solr
/**
* Create a UUID based on a binary data array.<p>
*
* @param data a binary data array representing a UUID
*/
public CmsUUID(byte[] data) {
m_uuid = new UUID(data);
}
代码示例来源:origin: org.opencms/opencms-solr
/**
* Create a UUID based on a String.<p>
*
* @param uuid a String representing a UUID
* @throws NumberFormatException in case uuid is not a valid UUID
*/
public CmsUUID(String uuid)
throws NumberFormatException {
m_uuid = new UUID(uuid);
}
代码示例来源:origin: Alfresco/alfresco-repository
private boolean isGUID(String guid)
{
try
{
UUID id = new UUID(guid);
// We have a valid guid.
return true;
}
catch (NumberFormatException e)
{
// Not a valid GUID
}
return false;
}
代码示例来源:origin: org.alfresco/alfresco-repository
private boolean isGUID(String guid)
{
try
{
UUID id = new UUID(guid);
// We have a valid guid.
return true;
}
catch (NumberFormatException e)
{
// Not a valid GUID
}
return false;
}
代码示例来源:origin: org.alfresco/alfresco-repository
UUID id = new UUID(guidString);
UUID id = new UUID(guidString);
代码示例来源:origin: Alfresco/alfresco-repository
UUID id = new UUID(guidString);
UUID id = new UUID(guidString);
代码示例来源:origin: org.opencms/opencms-core
LOG.debug(Messages.get().getBundle().key(Messages.LOG_READ_UUID_1, o));
m_uuid = new UUID((String)o);
代码示例来源:origin: org.opencms/opencms-solr
LOG.debug(Messages.get().getBundle().key(Messages.LOG_READ_UUID_1, o));
m_uuid = new UUID((String)o);
内容来源于网络,如有侵权,请联系作者删除!