Package org.vesalainen.bcc
Class ConstantInfo.ConstantLong
- java.lang.Object
-
- org.vesalainen.bcc.ConstantInfo
-
- org.vesalainen.bcc.ConstantInfo.ConstantLong
-
- All Implemented Interfaces:
Writable
- Enclosing class:
- ConstantInfo
public static class ConstantInfo.ConstantLong extends ConstantInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.vesalainen.bcc.ConstantInfo
ConstantInfo.Clazz, ConstantInfo.ConstantDouble, ConstantInfo.ConstantFloat, ConstantInfo.ConstantInteger, ConstantInfo.ConstantLong, ConstantInfo.ConstantString, ConstantInfo.Fieldref, ConstantInfo.Filler, ConstantInfo.InterfaceMethodref, ConstantInfo.Methodref, ConstantInfo.NameAndType, ConstantInfo.Ref, ConstantInfo.Utf8
-
-
Field Summary
Fields Modifier and Type Field Description private inthigh_bytesprivate intlow_bytes-
Fields inherited from class org.vesalainen.bcc.ConstantInfo
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8
-
-
Constructor Summary
Constructors Constructor Description ConstantLong(int high_bytes, int low_bytes)ConstantLong(long constant)ConstantLong(java.io.DataInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)longgetConstant()inthashCode()protected voidinitialize(java.io.DataInput in)voidwrite(java.io.DataOutput out)-
Methods inherited from class org.vesalainen.bcc.ConstantInfo
getTag, read
-
-
-
-
Method Detail
-
initialize
protected void initialize(java.io.DataInput in) throws java.io.IOException- Specified by:
initializein classConstantInfo- Throws:
java.io.IOException
-
write
public void write(java.io.DataOutput out) throws java.io.IOException- Specified by:
writein interfaceWritable- Overrides:
writein classConstantInfo- Throws:
java.io.IOException
-
getConstant
public long getConstant()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-