fm.liveswitch.NullableBoolean Class Reference

A nullable boolean. More...

Public Member Functions

 NullableBoolean ()
 
 NullableBoolean (boolean value)
 
 NullableBoolean (Boolean value)
 
boolean hasValue ()
 
boolean getHasValue ()
 
boolean getValue ()
 
void setValue (boolean value)
 
boolean getValueOrDefault ()
 
String toString ()
 

Static Public Member Functions

static NullableBoolean nullValue ()
 
static NullableBoolean trueValue ()
 
static NullableBoolean falseValue ()
 

Detailed Description

A nullable boolean.

Constructor & Destructor Documentation

◆ NullableBoolean() [1/3]

fm.liveswitch.NullableBoolean.NullableBoolean ( )

◆ NullableBoolean() [2/3]

fm.liveswitch.NullableBoolean.NullableBoolean ( boolean  value)

◆ NullableBoolean() [3/3]

fm.liveswitch.NullableBoolean.NullableBoolean ( Boolean  value)

Member Function Documentation

◆ falseValue()

static NullableBoolean fm.liveswitch.NullableBoolean.falseValue ( )
static

◆ getHasValue()

boolean fm.liveswitch.NullableBoolean.getHasValue ( )

◆ getValue()

boolean fm.liveswitch.NullableBoolean.getValue ( )

◆ getValueOrDefault()

boolean fm.liveswitch.NullableBoolean.getValueOrDefault ( )

◆ hasValue()

boolean fm.liveswitch.NullableBoolean.hasValue ( )

◆ nullValue()

static NullableBoolean fm.liveswitch.NullableBoolean.nullValue ( )
static

◆ setValue()

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

◆ toString()

String fm.liveswitch.NullableBoolean.toString ( )

◆ trueValue()

static NullableBoolean fm.liveswitch.NullableBoolean.trueValue ( )
static