fm.liveswitch.Triple< T1, T2, T3 > Class Template Reference

A 3-tuple. More...

Public Member Functions

T1 getItem1 ()
 Gets the first item in the tuple. More...
 
T2 getItem2 ()
 Gets the second item in the tuple. More...
 
T3 getItem3 ()
 Gets the third item in the tuple. More...
 
 Triple (T1 item1, T2 item2, T3 item3)
 Initializes a new instance of the fm.liveswitch.Triple class. More...
 

Detailed Description

A 3-tuple.

Constructor & Destructor Documentation

◆ Triple()

fm.liveswitch.Triple< T1, T2, T3 >.Triple ( T1  item1,
T2  item2,
T3  item3 
)

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

Parameters
item1First item the tuple holds.
item2Second item the tuple holds.
item3Third item the tuple holds.

Member Function Documentation

◆ getItem1()

T1 fm.liveswitch.Triple< T1, T2, T3 >.getItem1 ( )

Gets the first item in the tuple.

◆ getItem2()

T2 fm.liveswitch.Triple< T1, T2, T3 >.getItem2 ( )

Gets the second item in the tuple.

◆ getItem3()

T3 fm.liveswitch.Triple< T1, T2, T3 >.getItem3 ( )

Gets the third item in the tuple.