public class DoubleConstant extends RealConstant
| Modifier and Type | Field and Description |
|---|---|
double |
value |
| Modifier and Type | Method and Description |
|---|---|
NumericConstant |
add(NumericConstant c) |
void |
apply(Switch sw)
Called when this object is visited.
|
IntConstant |
cmpg(RealConstant c) |
IntConstant |
cmpl(RealConstant c) |
NumericConstant |
divide(NumericConstant c) |
NumericConstant |
equalEqual(NumericConstant c) |
boolean |
equals(java.lang.Object c) |
Type |
getType()
Returns the Soot type of this Value.
|
NumericConstant |
greaterThan(NumericConstant c) |
NumericConstant |
greaterThanOrEqual(NumericConstant c) |
int |
hashCode()
Returns a hash code for this DoubleConstant object.
|
NumericConstant |
lessThan(NumericConstant c) |
NumericConstant |
lessThanOrEqual(NumericConstant c) |
NumericConstant |
multiply(NumericConstant c) |
NumericConstant |
negate() |
NumericConstant |
notEqual(NumericConstant c) |
NumericConstant |
remainder(NumericConstant c) |
NumericConstant |
subtract(NumericConstant c) |
java.lang.String |
toString() |
static DoubleConstant |
v(double value) |
clone, equivHashCode, equivTo, getUseBoxes, toStringpublic static DoubleConstant v(double value)
public boolean equals(java.lang.Object c)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic NumericConstant add(NumericConstant c)
add in class NumericConstantpublic NumericConstant subtract(NumericConstant c)
subtract in class NumericConstantpublic NumericConstant multiply(NumericConstant c)
multiply in class NumericConstantpublic NumericConstant divide(NumericConstant c)
divide in class NumericConstantpublic NumericConstant remainder(NumericConstant c)
remainder in class NumericConstantpublic NumericConstant equalEqual(NumericConstant c)
equalEqual in class NumericConstantpublic NumericConstant notEqual(NumericConstant c)
notEqual in class NumericConstantpublic NumericConstant lessThan(NumericConstant c)
lessThan in class NumericConstantpublic NumericConstant lessThanOrEqual(NumericConstant c)
lessThanOrEqual in class NumericConstantpublic NumericConstant greaterThan(NumericConstant c)
greaterThan in class NumericConstantpublic NumericConstant greaterThanOrEqual(NumericConstant c)
greaterThanOrEqual in class NumericConstantpublic IntConstant cmpg(RealConstant c)
cmpg in class RealConstantpublic IntConstant cmpl(RealConstant c)
cmpl in class RealConstantpublic NumericConstant negate()
negate in class NumericConstantpublic java.lang.String toString()
toString in class java.lang.Objectpublic Type getType()
Valuepublic void apply(Switch sw)
SwitchableCopyright © 2012-2019 RoboVM AB. All Rights Reserved.