FMIceLinkPair Class Reference

Inherits from NSObject
Conforms to T1
T2
__covariant
Declared in FMIceLinkPair.h
FMIceLinkPair.m

Overview

A 2-tuple.

First type the tuple holds.Second type the tuple holds.

– hash

Calculates the hashcode for this pair.
- (int)hash

Discussion

Calculates the hashcode for this pair.

Declared In

FMIceLinkPair.h

– initWithItem1:item2:

Initializes a new instance of the FMIceLinkPair`2 class.
- (instancetype)initWithItem1:(id)item1 item2:(id)item2

Parameters

item1

First item the tuple holds.

item2

Second item the tuple holds.

Discussion

Initializes a new instance of the FMIceLinkPair`2 class.

Declared In

FMIceLinkPair.h

– isEqualWithObj:

Determines whether the specified System.Object is equal to the current System.Object.
- (bool)isEqualWithObj:(id)obj

Parameters

obj

The object to compare with the current object.

Return Value

true if the specified System.Object is equal to the current System.Object; otherwise, false.

Discussion

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

Declared In

FMIceLinkPair.h

– item1

Gets the first item in the tuple.
- (id)item1

Discussion

Gets the first item in the tuple.

Declared In

FMIceLinkPair.h

– item2

Gets the second item in the tuple.
- (id)item2

Discussion

Gets the second item in the tuple.

Declared In

FMIceLinkPair.h

+ pairWithItem1:item2:

Initializes a new instance of the FMIceLinkPair`2 class.
+ (FMIceLinkPair *)pairWithItem1:(id)item1 item2:(id)item2

Parameters

item1

First item the tuple holds.

item2

Second item the tuple holds.

Discussion

Initializes a new instance of the FMIceLinkPair`2 class.

Declared In

FMIceLinkPair.h