Class ConstantDoubleInfo

  • All Implemented Interfaces:
    ConstantTypes

    public class ConstantDoubleInfo
    extends ConstantPoolInfo
    Class corresponding to the CONSTANT_Double_info structure.
    Version:
    1.0
    • Field Detail

      • highBytes

        private int highBytes
      • lowBytes

        private int lowBytes
    • Constructor Detail

      • ConstantDoubleInfo

        public ConstantDoubleInfo​(int highBytes,
                                  int lowBytes)
        Constructor.
        Parameters:
        highBytes - The high bytes.
        lowBytes - The low bytes.
    • Method Detail

      • getDoubleValue

        public double getDoubleValue()
        Returns the double value represented by this constant.
        Returns:
        The double value.
      • getHighBytes

        public int getHighBytes()
      • getLowBytes

        public int getLowBytes()
      • toString

        public java.lang.String toString()
        Returns a string representation of this object. Useful for debugging.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of this object.