RefBoolean

Inheritance: java.lang.Object

public class RefBoolean

Represents Out/Ref constructions for Boolean primitive type

Constructors

ConstructorDescription
RefBoolean(boolean 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(boolean anotherValue)Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions
toString()

RefBoolean(boolean value)

public RefBoolean(boolean value)

Mimics Out/Ref parameter initialisation with given Value. Should be used before calling the method with Out/Ref constructions

Parameters:

ParameterTypeDescription
valueboolean

get()

public boolean get()

Gets Out/Ref parameter Value Should be used after calling the method with Out/Ref constructions

Returns: boolean

set(boolean anotherValue)

public boolean set(boolean anotherValue)

Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions

Parameters:

ParameterTypeDescription
anotherValueboolean

Returns: boolean

toString()

public String toString()

Returns: java.lang.String