Packages

 

com.aspose.cad.fileformats.cad

Class CadBinaryCodeValue



  • public final class CadBinaryCodeValue
    extends CadCodeValue

    Cad binary Code Value class

    • Constructor Detail

      • CadBinaryCodeValue

        public CadBinaryCodeValue(int code,
                                  byte[] data,
                                  int dataCount)

        Initializes a new instance of the CadBinaryCodeValue class.

        Parameters:
        code - The code of the parameter.
        data - The data of the parameter.
        dataCount - The data count.
      • CadBinaryCodeValue

        public CadBinaryCodeValue(int code,
                                  String value)

        Initializes a new instance of the CadBinaryCodeValue class.

        Parameters:
        code - The code of the parameter.
        value - The value of the parameter.
    • Method Detail

      • getData

        public byte[] getData()

        Gets or sets the value.

        Returns:
        The value.
      • setData

        public void setData(byte[] value)

        Gets or sets the value.

        Parameters:
        value - The value.
      • getBinaryData

        public byte[] getBinaryData()

        Gets the binary data.

        Overrides:
        getBinaryData in class CadCodeValue
        Returns:
        Byte array from hexadecimal data.
      • getBoolValue

        public boolean getBoolValue()

        Gets the boolean value.

        Overrides:
        getBoolValue in class CadCodeValue
        Returns:
        The bool.
      • getShortValue

        public short getShortValue()

        The get short value.

        Overrides:
        getShortValue in class CadCodeValue
        Returns:
        The short.
      • getIntValue

        public int getIntValue()

        The get integer value.

        Overrides:
        getIntValue in class CadCodeValue
        Returns:
        The int.
      • getLongValue

        public long getLongValue()

        The get long value.

        Overrides:
        getLongValue in class CadCodeValue
        Returns:
        The long.
      • getDoubleValue

        public double getDoubleValue()

        The get double value.

        Overrides:
        getDoubleValue in class CadCodeValue
        Returns:
        The double.
      • equals

        public boolean equals(CadCodeValue obj)

        Determines whether the specified CadCodeValue, is equal to this instance.

        Overrides:
        equals in class CadCodeValue
        Parameters:
        obj - The CadCodeValue to compare with this instance.
        Returns:
        true if the specified CadCodeValue is equal to this instance; otherwise, false.