fm.liveswitch.BooleanHolder Class Reference

Class to hold a boolean value passed by reference. More...

Public Member Functions

 BooleanHolder ()
 Initializes a new instance of the fm.liveswitch.BooleanHolder class. More...
 
 BooleanHolder (boolean value)
 Initializes a new instance of the fm.liveswitch.BooleanHolder class. More...
 
boolean getValue ()
 Gets the value. More...
 
void setValue (boolean value)
 Sets the value. More...
 

Detailed Description

Class to hold a boolean value passed by reference.

Constructor & Destructor Documentation

◆ BooleanHolder() [1/2]

fm.liveswitch.BooleanHolder.BooleanHolder ( )

Initializes a new instance of the fm.liveswitch.BooleanHolder class.

◆ BooleanHolder() [2/2]

fm.liveswitch.BooleanHolder.BooleanHolder ( boolean  value)

Initializes a new instance of the fm.liveswitch.BooleanHolder class.

Parameters
valueThe value.

Member Function Documentation

◆ getValue()

boolean fm.liveswitch.BooleanHolder.getValue ( )

Gets the value.

◆ setValue()

void fm.liveswitch.BooleanHolder.setValue ( boolean  value)

Sets the value.