A mutable 2-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... | |
MutablePair (T1 item1, T2 item2) | |
Initializes a new instance of the fm.liveswitch.MutablePair class. More... | |
void | setItem1 (T1 value) |
Sets the first item in the tuple. More... | |
void | setItem2 (T2 value) |
Sets the second item in the tuple. More... | |
A mutable 2-tuple.
fm.liveswitch.MutablePair< T1, T2 >.MutablePair | ( | T1 | item1, |
T2 | item2 | ||
) |
Initializes a new instance of the fm.liveswitch.MutablePair class.
item1 | First item the tuple holds. |
item2 | Second item the tuple holds. |
T1 fm.liveswitch.MutablePair< T1, T2 >.getItem1 | ( | ) |
Gets the first item in the tuple.
T2 fm.liveswitch.MutablePair< T1, T2 >.getItem2 | ( | ) |
Gets the second item in the tuple.
void fm.liveswitch.MutablePair< T1, T2 >.setItem1 | ( | T1 | value | ) |
Sets the first item in the tuple.
void fm.liveswitch.MutablePair< T1, T2 >.setItem2 | ( | T2 | value | ) |
Sets the second item in the tuple.