-
- All Implemented Interfaces:
public abstract class ConstantNumeric extends AbstractConstant
Base class for numeric constant pool data structures.
-
-
Field Summary
Fields Modifier and Type Field Description private Integerbytesprivate final StringformattedBytesprivate final ConstantTypeconstantTypeprivate final Stringverbose
-
Constructor Summary
Constructors Constructor Description ConstantNumeric(ClassFile classFile)
-
Method Summary
Modifier and Type Method Description final IntegergetBytes()Bytes field of this constant pool entry. final UnitsetBytes(Integer bytes)Bytes field of this constant pool entry. final StringgetFormattedBytes()Booleanequals(Object other)Check if constant is equal to another one. IntegerhashCode()Hash code of the constant, -
Methods inherited from class org.gjt.jclasslib.structures.Constant
getConstantType, getVerbose -
Methods inherited from class org.gjt.jclasslib.structures.Structure
read, write -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ConstantNumeric
ConstantNumeric(ClassFile classFile)
-
-
Method Detail
-
getFormattedBytes
final String getFormattedBytes()
-
-
-
-