RefBoolean
Contents
[
Hide
]Inheritance: java.lang.Object
public class RefBoolean
Represents Out/Ref constructions for Boolean primitive type
Constructors
Constructor | Description |
---|---|
RefBoolean(boolean 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(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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
anotherValue | boolean |
Returns: boolean
toString()
public String toString()
Returns: java.lang.String