FMLiveSwitchMutablePair Class Reference

A mutable 2-tuple. More...

Instance Methods

(T1) - item1
 Gets the first item in the tuple. More...
 
(T2) - item2
 Gets the second item in the tuple. More...
 
(void) - setItem1:
 Sets the first item in the tuple. More...
 
(void) - setItem2:
 Sets the second item in the tuple. More...
 

Class Methods

(FMLiveSwitchMutablePair *) + mutablePairWithItem1:item2:
 Initializes a new instance of the FMLiveSwitchMutablePair`2 class. More...
 

Protected Attributes

 __pad0__: NSObject- (instancetype) initWithItem1:(T1)item1 item2:(T2)item2
 

Detailed Description

A mutable 2-tuple.

Method Documentation

◆ item1

- (T1) item1

Gets the first item in the tuple.

◆ item2

- (T2) item2

Gets the second item in the tuple.

◆ mutablePairWithItem1:item2:

+ (FMLiveSwitchMutablePair*) mutablePairWithItem1: (T1)  item1
item2: (T2)  item2 

Initializes a new instance of the FMLiveSwitchMutablePair`2 class.

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

◆ setItem1:

- (void) setItem1: (T1)  value

Sets the first item in the tuple.

◆ setItem2:

- (void) setItem2: (T2)  value

Sets the second item in the tuple.

Member Data Documentation

◆ __pad0__

- __pad0__
protected