public final class CadBinaryCodeValue extends CadCodeValue
Cad binary Code Value class
| Constructor and Description |
|---|
CadBinaryCodeValue(int code,
byte[] data,
int dataCount)
Initializes a new instance of the
CadBinaryCodeValue class. |
CadBinaryCodeValue(int code,
String value)
Initializes a new instance of the
CadBinaryCodeValue class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(CadCodeValue obj)
Determines whether the specified
CadCodeValue, is equal to this instance. |
byte[] |
getBinaryData()
Gets the binary data.
|
boolean |
getBoolValue()
Gets the boolean value.
|
byte[] |
getData()
Gets or sets the value.
|
double |
getDoubleValue()
The get double value.
|
int |
getIntValue()
The get integer value.
|
long |
getLongValue()
The get long value.
|
short |
getShortValue()
The get short value.
|
void |
setData(byte[] value)
Gets or sets the value.
|
getAttribute, getCode, getStringValue, getValue, setCode, setValuepublic CadBinaryCodeValue(int code,
byte[] data,
int dataCount)
Initializes a new instance of the CadBinaryCodeValue class.
code - The code of the parameter.data - The data of the parameter.dataCount - The data count.public CadBinaryCodeValue(int code,
String value)
Initializes a new instance of the CadBinaryCodeValue class.
code - The code of the parameter.value - The value of the parameter.public byte[] getData()
Gets or sets the value.
public void setData(byte[] value)
Gets or sets the value.
value - The value.public byte[] getBinaryData()
Gets the binary data.
getBinaryData in class CadCodeValuepublic boolean getBoolValue()
Gets the boolean value.
getBoolValue in class CadCodeValuebool.public short getShortValue()
The get short value.
getShortValue in class CadCodeValueshort.public int getIntValue()
The get integer value.
getIntValue in class CadCodeValueint.public long getLongValue()
The get long value.
getLongValue in class CadCodeValuelong.public double getDoubleValue()
The get double value.
getDoubleValue in class CadCodeValuedouble.public boolean equals(CadCodeValue obj)
Determines whether the specified CadCodeValue, is equal to this instance.
equals in class CadCodeValueobj - The CadCodeValue to compare with this instance.true if the specified CadCodeValue is equal to this instance; otherwise, false.