fm.liveswitch.NullableFloat Class Reference

A nullable float. More...

Public Member Functions

 NullableFloat ()
 
 NullableFloat (float value)
 
 NullableFloat (Float value)
 
boolean hasValue ()
 
boolean getHasValue ()
 
float getValue ()
 
void setValue (float value)
 
float getValueOrDefault ()
 
String toString ()
 

Static Public Member Functions

static NullableFloat nullValue ()
 

Detailed Description

A nullable float.

Constructor & Destructor Documentation

◆ NullableFloat() [1/3]

fm.liveswitch.NullableFloat.NullableFloat ( )

◆ NullableFloat() [2/3]

fm.liveswitch.NullableFloat.NullableFloat ( float  value)

◆ NullableFloat() [3/3]

fm.liveswitch.NullableFloat.NullableFloat ( Float  value)

Member Function Documentation

◆ getHasValue()

boolean fm.liveswitch.NullableFloat.getHasValue ( )

◆ getValue()

float fm.liveswitch.NullableFloat.getValue ( )

◆ getValueOrDefault()

float fm.liveswitch.NullableFloat.getValueOrDefault ( )

◆ hasValue()

boolean fm.liveswitch.NullableFloat.hasValue ( )

◆ nullValue()

static NullableFloat fm.liveswitch.NullableFloat.nullValue ( )
static

◆ setValue()

void fm.liveswitch.NullableFloat.setValue ( float  value)

◆ toString()

String fm.liveswitch.NullableFloat.toString ( )