|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.primitives.register.real.Real
org.extex.interpreter.primitives.register.real.ImmutableReal
public class ImmutableReal
An immutable Real.
| Field Summary |
|---|
| Fields inherited from class org.extex.interpreter.primitives.register.real.Real |
|---|
MAX_VALUE, ZERO |
| Constructor Summary | |
|---|---|
ImmutableReal(double val)
Creates a new object. |
|
ImmutableReal(long l)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
add(double val)
add |
void |
add(Real real)
add |
void |
divide(double val)
divide |
void |
divide(Real val)
divide |
void |
multiply(double val)
multiply |
void |
multiply(Real val)
multiply |
void |
setValue(double d)
Setter for the value. |
| Methods inherited from class org.extex.interpreter.primitives.register.real.Real |
|---|
getLong, getValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImmutableReal(double val)
val - init with double-valuepublic ImmutableReal(long l)
l - the value as long| Method Detail |
|---|
public void add(double val)
add in class Realval - the value to addReal.add(double)public void add(Real real)
add in class Realreal - the value to addReal.add(
org.extex.interpreter.primitives.register.real.Real)public void divide(double val)
divide in class Realval - the value to divideReal.divide(double)public void divide(Real val)
divide in class Realval - the value to divideReal.divide(
org.extex.interpreter.primitives.register.real.Real)public void multiply(double val)
multiply in class Realval - the value to multiplyReal.multiply(double)public void multiply(Real val)
multiply in class Realval - the value to multiplyReal.multiply(
org.extex.interpreter.primitives.register.real.Real)public void setValue(double d)
setValue in class Reald - the new value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||