|
PPL Java Language Interface 2.0
|
An utility class implementing mutable and non-mutable call-by-reference. More...
Public Member Functions | |
| By_Reference (T object_value) | |
Builds an object encapsulating object_value. | |
| void | set (T y) |
Set an object to value object_value. | |
| T | get () |
Returns the value held by this. | |
An utility class implementing mutable and non-mutable call-by-reference.
|
inline |
Builds an object encapsulating object_value.
| object_value | The value retained by this reference wrapper. |
|
inline |
Set an object to value object_value.
| y | The other input value. |
|
inline |
Returns the value held by this.
this.