fm.liveswitch.NullableDouble Class Reference

A nullable double. More...

Public Member Functions

 NullableDouble ()
 
 NullableDouble (double value)
 
 NullableDouble (Double value)
 
boolean hasValue ()
 
boolean getHasValue ()
 
double getValue ()
 
void setValue (double value)
 
double getValueOrDefault ()
 
String toString ()
 

Static Public Member Functions

static NullableDouble nullValue ()
 

Detailed Description

A nullable double.

Constructor & Destructor Documentation

◆ NullableDouble() [1/3]

fm.liveswitch.NullableDouble.NullableDouble ( )

◆ NullableDouble() [2/3]

fm.liveswitch.NullableDouble.NullableDouble ( double  value)

◆ NullableDouble() [3/3]

fm.liveswitch.NullableDouble.NullableDouble ( Double  value)

Member Function Documentation

◆ getHasValue()

boolean fm.liveswitch.NullableDouble.getHasValue ( )

◆ getValue()

double fm.liveswitch.NullableDouble.getValue ( )

◆ getValueOrDefault()

double fm.liveswitch.NullableDouble.getValueOrDefault ( )

◆ hasValue()

boolean fm.liveswitch.NullableDouble.hasValue ( )

◆ nullValue()

static NullableDouble fm.liveswitch.NullableDouble.nullValue ( )
static

◆ setValue()

void fm.liveswitch.NullableDouble.setValue ( double  value)

◆ toString()

String fm.liveswitch.NullableDouble.toString ( )