Drag[en]gine Script Module DragonScript
1.23
|
Immutable pair of two objects. More...
Public Member Functions | |
bool | equals (Object other) |
Pair equals object. More... | |
Object | getFirst () |
First object. More... | |
Object | getSecond () |
Second object. More... | |
int | hashCode () |
Hash code for use as dictionary keys. More... | |
Pair | new (Object first, Object second) |
Create pair. More... | |
Pair | swap () |
Pair with first and second object swapped. More... | |
String | toString () |
String representation. More... | |
Immutable pair of two objects.
bool Dragengine.Utils.Pair.equals | ( | Object | other | ) |
Object Dragengine.Utils.Pair.getFirst | ( | ) |
First object.
Object Dragengine.Utils.Pair.getSecond | ( | ) |
Second object.
int Dragengine.Utils.Pair.hashCode | ( | ) |
Hash code for use as dictionary keys.
Implements Object.hashCode().
Pair Dragengine.Utils.Pair.new | ( | Object | first, |
Object | second | ||
) |
Create pair.
String Dragengine.Utils.Pair.toString | ( | ) |
String representation.