org.cojen.classfile.constant
Class ConstantDoubleInfo
java.lang.Object
org.cojen.classfile.ConstantInfo
org.cojen.classfile.constant.ConstantDoubleInfo
public class ConstantDoubleInfo
- extends ConstantInfo
This class corresponds to the CONSTANT_Double_info structure as defined in
section 4.4.5 of The Java Virtual Machine Specification.
- Author:
- Brian S O'Neill
Fields inherited from class org.cojen.classfile.ConstantInfo |
TAG_CLASS, TAG_DOUBLE, TAG_FIELD, TAG_FLOAT, TAG_INTEGER, TAG_INTERFACE_METHOD, TAG_LONG, TAG_METHOD, TAG_NAME_AND_TYPE, TAG_STRING, TAG_UTF8 |
ConstantDoubleInfo
public ConstantDoubleInfo(double value)
getValue
public double getValue()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getEntryCount
protected int getEntryCount()
- Overrides:
getEntryCount
in class ConstantInfo
writeTo
public void writeTo(DataOutput dout)
throws IOException
- Overrides:
writeTo
in class ConstantInfo
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2011 Brian S O'Neill. All Rights Reserved.