A 2-tuple. More...
Public Member Functions | |
| boolean | equals (Object obj) |
| Determines whether the specified System.Object is equal to the current System.Object. More... | |
| T1 | getItem1 () |
| Gets the first item in the tuple. More... | |
| T2 | getItem2 () |
| Gets the second item in the tuple. More... | |
| int | hashCode () |
| Calculates the hashcode for this pair. More... | |
| Pair (T1 item1, T2 item2) | |
| Initializes a new instance of the fm.liveswitch.Pair class. More... | |
A 2-tuple.
| fm.liveswitch.Pair< T1, T2 >.Pair | ( | T1 | item1, |
| T2 | item2 | ||
| ) |
Initializes a new instance of the fm.liveswitch.Pair class.
| item1 | First item the tuple holds. |
| item2 | Second item the tuple holds. |
| boolean fm.liveswitch.Pair< T1, T2 >.equals | ( | Object | obj | ) |
Determines whether the specified System.Object is equal to the current System.Object.
| obj | The object to compare with the current object. |
| T1 fm.liveswitch.Pair< T1, T2 >.getItem1 | ( | ) |
Gets the first item in the tuple.
| T2 fm.liveswitch.Pair< T1, T2 >.getItem2 | ( | ) |
Gets the second item in the tuple.
| int fm.liveswitch.Pair< T1, T2 >.hashCode | ( | ) |
Calculates the hashcode for this pair.