public class Constant extends Object implements AbstractValue<Constant>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Constant.Type | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Constant.Type | typeWhat kind of abstract value is this? | 
| protected @Nullable Integer | valueThe value of this abstract value (or null) | 
| Constructor and Description | 
|---|
| Constant(Constant.Type type) | 
| Constant(Integer value) | 
| Modifier and Type | Method and Description | 
|---|---|
| Constant | copy() | 
| boolean | equals(Object obj) | 
| Integer | getValue() | 
| int | hashCode() | 
| boolean | isBottom() | 
| boolean | isConstant() | 
| boolean | isTop() | 
| Constant | leastUpperBound(Constant other)Compute the least upper bound of two stores. | 
| String | toString() | 
protected Constant.Type type
public Constant(Constant.Type type)
public Constant(Integer value)
public boolean isTop()
public boolean isBottom()
public boolean isConstant()
public Integer getValue()
public Constant copy()
public Constant leastUpperBound(Constant other)
AbstractValueImportant: This method must fulfill the following contract:
this.
   other.
   this, even if the signature is
       more permissive.
   leastUpperBound in interface AbstractValue<Constant>