|
Starsector API
|
Public Member Functions | |
| Pair () | |
| Pair (A one, B two) | |
| int | hashCode () |
| boolean | equals (Object obj) |
Public Attributes | |
| A | one |
| B | two |
Simple container class for a pair of items. Has valid hashCode() and equals() methods.
A pair is equal to another pair if each of the item .equals() their counterpart.
| com.fs.starfarer.api.util.Pair< A, B >.Pair | ( | ) |
| com.fs.starfarer.api.util.Pair< A, B >.Pair | ( | A | one, |
| B | two ) |
| boolean com.fs.starfarer.api.util.Pair< A, B >.equals | ( | Object | obj | ) |
| int com.fs.starfarer.api.util.Pair< A, B >.hashCode | ( | ) |
| A com.fs.starfarer.api.util.Pair< A, B >.one |
| B com.fs.starfarer.api.util.Pair< A, B >.two |