public class ExtendedGuid extends Object implements com.aspose.ms.System.IEquatable<ExtendedGuid>, IBinarySerializable
The extended guid.
Modifier and Type | Field and Description |
---|---|
static ExtendedGuid |
Empty
The empty.
|
Constructor and Description |
---|
ExtendedGuid(Guid guid)
Initializes a new instance of the
ExtendedGuid struct. |
ExtendedGuid(Guid guid,
long n)
Initializes a new instance of the
ExtendedGuid struct. |
ExtendedGuid(long n)
Initializes a new instance of the
ExtendedGuid struct. |
ExtendedGuid(String guid,
long n)
Initializes a new instance of the
ExtendedGuid struct. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ExtendedGuid other) |
boolean |
equals(Object obj) |
Guid |
getGuid()
The guid.
|
long |
getN()
It must be zero when the guid field value is Guid.Empty.
|
long |
getStructSize()
Gets the struct size.
|
int |
hashCode() |
static ExtendedGuid |
newExtendedGuid()
The new extended guid.
|
static boolean |
op_Equality(ExtendedGuid left,
ExtendedGuid right) |
static boolean |
op_Inequality(ExtendedGuid left,
ExtendedGuid right) |
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
public static final ExtendedGuid Empty
The empty.
public ExtendedGuid(Guid guid, long n)
Initializes a new instance of the ExtendedGuid
struct.
guid
- The guid.n
- The n.public ExtendedGuid(String guid, long n)
Initializes a new instance of the ExtendedGuid
struct.
guid
- The guid.n
- The n.public ExtendedGuid(Guid guid)
Initializes a new instance of the ExtendedGuid
struct.
guid
- The guid.public ExtendedGuid(long n)
Initializes a new instance of the ExtendedGuid
struct.
n
- The n.public static ExtendedGuid newExtendedGuid()
The new extended guid.
ExtendedGuid
.public Guid getGuid()
The guid.
public long getN()
It must be zero when the guid field value is Guid.Empty.
public boolean equals(ExtendedGuid other)
public boolean equals(Object obj)
equals
in interface com.aspose.ms.System.IEquatable<ExtendedGuid>
equals
in class Object
public static boolean op_Equality(ExtendedGuid left, ExtendedGuid right)
public static boolean op_Inequality(ExtendedGuid left, ExtendedGuid right)
public String toString()
The to string.
public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
T:byte[]
.com.aspose.ms.System.InvalidOperationException
Copyright (c) 2016 Aspose. All Rights Reserved.