Ref
Contents
[
Hide
]Inheritance: java.lang.Object
public class Ref
Represents Generic Out/Ref constructions
Constructors
| Constructor | Description |
|---|---|
| Ref(Object value) | Mimics Out/Ref parameter initialisation with given Value. |
Methods
| Method | Description |
|---|---|
| get() | Gets Out/Ref parameter Value Should be used after calling the method with Out/Ref constructions |
| set(Object anotherValue) | Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions |
| toString() |
Ref(Object value)
public Ref(Object value)
Mimics Out/Ref parameter initialisation with given Value. Should be used before calling the method with Out/Ref constructions
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Object |
get()
public Object get()
Gets Out/Ref parameter Value Should be used after calling the method with Out/Ref constructions
Returns: java.lang.Object
set(Object anotherValue)
public Object set(Object anotherValue)
Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions
Parameters:
| Parameter | Type | Description |
|---|---|---|
| anotherValue | java.lang.Object |
Returns: java.lang.Object
toString()
public String toString()
Returns: java.lang.String