public class DoubleCPInfo extends ConstantCPInfo
The constant pool entry subclass used to represent double constant values.
  • Constructor Details

    • DoubleCPInfo

      public DoubleCPInfo()
      Constructor
  • Method Details

    • read

      public void read(DataInputStream cpStream) throws IOException
      read a constant pool entry from a class stream.
      Specified by:
      read in class ConstantPoolEntry
      Parameters:
      cpStream - the DataInputStream which contains the constant pool entry to be read.
      Throws:
      IOException - if there is a problem reading the entry from the stream.
    • toString

      public String toString()
      Print a readable version of the constant pool entry.
      Overrides:
      toString in class Object
      Returns:
      the string representation of this constant pool entry.