FMLiveSwitchPair Class Reference

A 2-tuple. More...

Instance Methods

(instancetype) - initWithItem1:item2:
 Initializes a new instance of the FMLiveSwitchPair`2 class. More...
 
(bool) - isEqualWithObj:
 Determines whether the specified System.Object is equal to the current System.Object. More...
 
(T1) - item1
 Gets the first item in the tuple. More...
 
(T2) - item2
 Gets the second item in the tuple. More...
 

Class Methods

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

Protected Attributes

 __pad0__: NSObject- (int) hash
 

Detailed Description

A 2-tuple.

Method Documentation

◆ initWithItem1:item2:

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

Initializes a new instance of the FMLiveSwitchPair`2 class.

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

◆ isEqualWithObj:

- (bool) isEqualWithObj: (id obj

Determines whether the specified System.Object is equal to the current System.Object.

Parameters
objThe object to compare with the current object.
Returns
true if the specified System.Object is equal to the current System.Object; otherwise, false.

◆ item1

- (T1) item1

Gets the first item in the tuple.

◆ item2

- (T2) item2

Gets the second item in the tuple.

◆ pairWithItem1:item2:

+ (FMLiveSwitchPair*) pairWithItem1: (T1)  item1
item2: (T2)  item2 

Initializes a new instance of the FMLiveSwitchPair`2 class.

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

Member Data Documentation

◆ __pad0__

- __pad0__
protected