public class ExGuid extends BasicObject
Modifier and Type | Field and Description |
---|---|
static int |
ExtendedGUID10BitUintType
Specify the extended GUID 10 Bit int type value.
|
static int |
ExtendedGUID17BitUintType
Specify the extended GUID 17 Bit int type value.
|
static int |
ExtendedGUID32BitUintType
Specify the extended GUID 32 Bit int type value.
|
static int |
ExtendedGUID5BitUintType
Specify the extended GUID 5 Bit int type value.
|
static int |
ExtendedGUIDNullType
Specify the extended GUID null type value.
|
UUID |
guid |
int |
type |
int |
value |
Constructor and Description |
---|
ExGuid()
Initializes a new instance of the ExGuid class, this is a default constructor.
|
ExGuid(ExGuid guid2)
Initializes a new instance of the ExGuid class, this is the copy constructor.
|
ExGuid(int value,
UUID identifier)
Initializes a new instance of the ExGuid class with specified value.
|
Modifier and Type | Method and Description |
---|---|
protected int |
doDeserializeFromByteArray(byte[] byteArray,
int startIndex)
This method is used to deserialize the ExGuid basic object from the specified byte array and start index.
|
boolean |
equals(Object obj)
Override the Equals method.
|
int |
hashCode()
Override the GetHashCode.
|
List<Byte> |
serializeToByteList()
This method is used to convert the element of ExGuid basic object into a byte List.
|
deserializeFromByteArray, parse
public static final int ExtendedGUIDNullType
public static final int ExtendedGUID5BitUintType
public static final int ExtendedGUID10BitUintType
public static final int ExtendedGUID17BitUintType
public static final int ExtendedGUID32BitUintType
public int type
public int value
public UUID guid
public ExGuid(int value, UUID identifier)
value
- Specify the ExGUID Value.identifier
- Specify the ExGUID GUID value.public ExGuid(ExGuid guid2)
guid2
- Specify the ExGuid instance where copies from.public ExGuid()
public List<Byte> serializeToByteList() throws IOException
serializeToByteList
in interface IFSSHTTPBSerializable
serializeToByteList
in class BasicObject
IOException
public boolean equals(Object obj)
public int hashCode()
protected int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws IOException
doDeserializeFromByteArray
in class BasicObject
byteArray
- Specify the byte array.startIndex
- Specify the start index from the byte array.IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.