RefDouble
Contents
[
Hide
]Inheritance: java.lang.Object
public class RefDouble
Represents Out/Ref constructions for Double primitive type
Constructors
Constructor | Description |
---|---|
RefDouble(double 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(double anotherValue) | Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions |
toString() |
RefDouble(double value)
public RefDouble(double 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 | double |
get()
public double get()
Gets Out/Ref parameter Value Should be used after calling the method with Out/Ref constructions
Returns: double
set(double anotherValue)
public double set(double anotherValue)
Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions
Parameters:
Parameter | Type | Description |
---|---|---|
anotherValue | double |
Returns: double
toString()
public String toString()
Returns: java.lang.String