public class ConstantInteger extends Constant
constantPool| Constructor and Description |
|---|
ConstantInteger(Constant[] constantPool,
DataInput inputStream)
constructs a new ConstantInteger
|
ConstantInteger(Constant[] constantPool,
int bytes)
constructs a new ConstantInteger
|
public ConstantInteger(Constant[] constantPool, DataInput inputStream) throws IOException
constantPool - the constantPool it is part ofinputStream - the inputstream to read fromIOException - on failurepublic ConstantInteger(Constant[] constantPool, int bytes)
constantPool - the constantPool it is part ofbytes - the bytespublic int getTag()
ConstantgetTag in class ConstantConstant.getTag()public int getValue()
public String toString()
toString in class ObjectObject.toString()Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.