Package at.jku.ssw.fp.sect05_4.dsl
Class DVar
- java.lang.Object
-
- at.jku.ssw.fp.sect05_4.dsl.DVar
-
public class DVar extends Object
Variable with double mutable value in a controller application.- Author:
- Herbert Praehofer
-
-
Field Summary
Fields Modifier and Type Field Description private double
value
Field for the mutable value of the variable.
-
Constructor Summary
Constructors Constructor Description DVar(double initial)
Constructor initializing the variable value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
get()
Gets the variable value.void
set(double value)
Sets the variable value.String
toString()
-