fm.liveswitch.NullableLong Class Reference

A nullable long. More...

Public Member Functions

 NullableLong ()
 
 NullableLong (long value)
 
 NullableLong (Long value)
 
boolean hasValue ()
 
boolean getHasValue ()
 
long getValue ()
 
void setValue (long value)
 
long getValueOrDefault ()
 
String toString ()
 

Static Public Member Functions

static NullableLong nullValue ()
 

Detailed Description

A nullable long.

Constructor & Destructor Documentation

◆ NullableLong() [1/3]

fm.liveswitch.NullableLong.NullableLong ( )

◆ NullableLong() [2/3]

fm.liveswitch.NullableLong.NullableLong ( long  value)

◆ NullableLong() [3/3]

fm.liveswitch.NullableLong.NullableLong ( Long  value)

Member Function Documentation

◆ getHasValue()

boolean fm.liveswitch.NullableLong.getHasValue ( )

◆ getValue()

long fm.liveswitch.NullableLong.getValue ( )

◆ getValueOrDefault()

long fm.liveswitch.NullableLong.getValueOrDefault ( )

◆ hasValue()

boolean fm.liveswitch.NullableLong.hasValue ( )

◆ nullValue()

static NullableLong fm.liveswitch.NullableLong.nullValue ( )
static

◆ setValue()

void fm.liveswitch.NullableLong.setValue ( long  value)

◆ toString()

String fm.liveswitch.NullableLong.toString ( )