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