Class IntegerCpInfo

  • All Implemented Interfaces:
    ClassConstants

    public class IntegerCpInfo
    extends CpInfo
    Representation of a 'integer' entry in the ConstantPool.
    • Constructor Detail

      • IntegerCpInfo

        protected IntegerCpInfo()
        Instantiates a new Integer cp info.
    • Method Detail

      • asBool

        public boolean asBool()
        As bool boolean.
        Returns:
        the boolean
      • readInfo

        protected void readInfo​(java.io.DataInput din)
                         throws java.io.IOException
        Read the 'info' data following the u1tag byte.
        Specified by:
        readInfo in class CpInfo
        Parameters:
        din - the din
        Throws:
        java.io.IOException - the io exception
      • writeInfo

        protected void writeInfo​(java.io.DataOutput dout)
                          throws java.io.IOException
        Write the 'info' data following the u1tag byte.
        Specified by:
        writeInfo in class CpInfo
        Parameters:
        dout - the dout
        Throws:
        java.io.IOException - the io exception