public class Real extends Expression
| Constructor and Description |
|---|
Real(double value)
Initializes this real number with the given value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Tests if this real number expression is equal to the given object.
|
int |
hashCode() |
String |
toString() |
public Real(double value)
value - the value of this real numberpublic boolean equals(Object object)