Class CPInteger

    • Constructor Detail

      • CPInteger

        public CPInteger​(java.lang.Integer value,
                         int globalIndex)
        Constructs a new instance.
        Parameters:
        value - The value.
        globalIndex - Global index.
    • Method Detail

      • writeBody

        protected void writeBody​(java.io.DataOutputStream dos)
                          throws java.io.IOException
        Description copied from class: ConstantPoolEntry
        Writes this instance to the given output stream.
        Specified by:
        writeBody in class ConstantPoolEntry
        Parameters:
        dos - the output stream.
        Throws:
        java.io.IOException - if an I/O error occurs.