/ fm / liveswitch / Triple
Class: Triple<T1, T2, T3>
fm.liveswitch.Triple
A 3-tuple.
Type parameters
Name |
---|
T1 |
T2 |
T3 |
Table of contents
Constructors
Methods
Constructors
constructor
+ new Triple<T1, T2, T3>(item1
: T1, item2
: T2, item3
: T3): Triple<T1, T2, T3>
Initializes a new instance of the [[fm.liveswitch.triple]] class.
Type parameters:
Name |
---|
T1 |
T2 |
T3 |
Parameters:
Name | Type | Description |
---|---|---|
item1 |
T1 | First item the tuple holds. |
item2 |
T2 | Second item the tuple holds. |
item3 |
T3 | Third item the tuple holds. |
Returns: Triple<T1, T2, T3>
Defined in: Generated/TypeScript/fm.liveswitch/Triple.ts:17
Methods
getItem1
▸ getItem1(): T1
Gets the first item in the tuple.
Returns: T1
Defined in: Generated/TypeScript/fm.liveswitch/Triple.ts:49
getItem2
▸ getItem2(): T2
Gets the second item in the tuple.
Returns: T2
Defined in: Generated/TypeScript/fm.liveswitch/Triple.ts:61
getItem3
▸ getItem3(): T3
Gets the third item in the tuple.
Returns: T3
Defined in: Generated/TypeScript/fm.liveswitch/Triple.ts:73
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Triple.ts:9