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