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