FileDocCategorySizeDatePackage
JConstantInteger.javaAPI DocphoneME MR2 API (J2ME)1859Wed May 02 18:00:40 BST 2007com.sun.satsa.jcrmic.classfile.constants

JConstantInteger

public class JConstantInteger extends JConstant
This class represents 4-byte numeric int constant.

Fields Summary
private int
value
Constant value
Constructors Summary
public JConstantInteger(JConstantPool cp)
Constructor.

param
cp constant pool reference

        super(cp);
    
Methods Summary
public intgetInt()
Returns the constant value.

return
constant value

        return value;
    
public voidparse(java.io.DataInputStream dis)
Parses constant pool entry.

param
dis input stream
throws
IOException if I/O exception occurs

        value = dis.readInt();