public class CompactId extends com.aspose.ms.lang.Struct<CompactId> implements IBinarySerializable, com.aspose.ms.System.IEquatable<CompactId>
A CompactID structure together with a global identification table specifies an ExtendedGUID.
Modifier and Type | Field and Description |
---|---|
long |
GuidIndex
Gets the index in the global identification table.
|
byte |
N
Gets the value of the ExtendedGUID.N field.
|
Constructor and Description |
---|
CompactId() |
CompactId(byte n,
long guidIndex)
Initializes a new instance of the
CompactId struct. |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
CompactId |
Clone() |
void |
CloneTo(CompactId that) |
boolean |
equals(CompactId other)
The equals.
|
static boolean |
equals(CompactId obj1,
CompactId obj2) |
boolean |
equals(Object obj) |
long |
getStructSize()
Gets the struct size.
|
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
public byte N
Gets the value of the ExtendedGUID.N field.
public long GuidIndex
Gets the index in the global identification table.
public CompactId()
public CompactId(byte n, long guidIndex)
Initializes a new instance of the CompactId
struct.
n
- The n.guidIndex
- The guid index.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
public boolean equals(CompactId other)
The equals.
other
- The other.bool
.public String toString()
The to string.
public void CloneTo(CompactId that)
CloneTo
in class com.aspose.ms.System.ValueType<CompactId>
public CompactId Clone()
Clone
in class com.aspose.ms.System.ValueType<CompactId>
public boolean equals(Object obj)
Copyright (c) 2017 Aspose. All Rights Reserved.