RefFloat

Inheritance: java.lang.Object

public class RefFloat

Represents Out/Ref constructions for Float primitive type

Constructors

ConstructorDescription
RefFloat(float value)Mimics Out/Ref parameter initialisation with given Value.

Methods

MethodDescription
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:

ParameterTypeDescription
valuefloat

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:

ParameterTypeDescription
anotherValuefloat

Returns: float

toString()

public String toString()

Returns: java.lang.String