public final class GUID
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
GUID()
Creates a GUID isntance
|
GUID(byte[] source)
Creates a GUID based on the byte array
|
GUID(java.lang.String spec)
Creates a GUID based on the given specification
|
| Modifier and Type | Method and Description |
|---|---|
void |
create() |
boolean |
equals(java.lang.Object o)
Compares this GUID instance with the Object o
|
java.lang.String |
getByteString()
Returns a string representation of the integer argument as an unsigned
integer in base 16.
|
java.lang.String |
getCanonicalFormat()
Returns the canonical string representation of this GUID.
|
byte[] |
getData() |
java.lang.String |
getDebugString()
Returns the canonical string representation of the GUID for debug
purposes.
|
int |
hashCode()
Returns the hashcode of the GUID.
|
java.lang.String |
toString()
Returns the canonical string representation of the GUID.
|
public GUID()
public GUID(byte[] source)
source - byte arraypublic GUID(java.lang.String spec)
spec - specificationpublic void create()
public java.lang.String getByteString()
public byte[] getData()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the Object to compare with for equalitypublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getCanonicalFormat()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDebugString()
StarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.