public class GUID extends Object implements Comparable<GUID>
Constructor and Description |
---|
GUID(int[] guid) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(GUID o) |
boolean |
equals(Object o) |
static GUID |
fromCurlyBraceUTF16Bytes(byte[] guid)
Converts a GUID of format: {AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE} (in bytes) to a GUID
object.
|
int[] |
getGuid() |
String |
getGuidString() |
int |
hashCode() |
static int |
memcmp(int[] b1,
int[] b2,
int sz) |
static GUID |
nil() |
GUID |
setGuid(int[] guid) |
List<Byte> |
toByteArray() |
String |
toString() |
public static GUID fromCurlyBraceUTF16Bytes(byte[] guid)
guid
- The bytes that contains string in UTF-16 format of {AAAAAAAA-BBBB-CCCC-DDDD
-EEEEEEEEEEEE}public static int memcmp(int[] b1, int[] b2, int sz)
public static GUID nil()
public int compareTo(GUID o)
compareTo
in interface Comparable<GUID>
public int[] getGuid()
public GUID setGuid(int[] guid)
public String getGuidString()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.