Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if (o instanceof DoubleValueConstant) {
DoubleValueConstant d = (DoubleValueConstant) o;
return tag == d.tag && highVal == d.highVal && lowVal == d.lowVal;
} else {
return false;
}
|
public int | hashCode()
return tag + highVal + lowVal;
|
public boolean | isResolved() return true;
|
public static ConstantObject | read(int t, java.io.DataInput i)
return new DoubleValueConstant( t, i.readInt(), i.readInt() );
|
public java.lang.String | toString()
String t = (tag == Const.CONSTANT_DOUBLE)?"Double [ " : "Long [ ";
return t + Integer.toHexString( highVal ) + " " + Integer.toHexString( lowVal ) +" ]";
|
public void | write(java.io.DataOutput o)
o.writeByte( tag );
o.writeInt( highVal );
o.writeInt( lowVal );
|