fm.liveswitch.MutableUnit< T > Class Template Reference

A mutable 1-tuple. More...

Public Member Functions

getItem ()
 Gets the first item in the tuple. More...
 
 MutableUnit (T item)
 Initializes a new instance of the fm.liveswitch.MutableUnit class. More...
 
void setItem (T value)
 Sets the first item in the tuple. More...
 

Detailed Description

A mutable 1-tuple.

Constructor & Destructor Documentation

◆ MutableUnit()

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

Parameters
itemThe item to hold.

Member Function Documentation

◆ getItem()

T fm.liveswitch.MutableUnit< T >.getItem ( )

Gets the first item in the tuple.

◆ setItem()

void fm.liveswitch.MutableUnit< T >.setItem ( value)

Sets the first item in the tuple.