tools
2.2.3
tools
/
me.scolastico.tools.pairs
/
Pair
Pair
open
class
Pair
<
X
,
Y
>
Content copied to clipboard
A generic data holder for two data types.
Constructors
Properties
Parameters
Parameters
<X>
Type one you want to store.
<Y>
Type two you want to store.
Constructors
Pair
Link copied to clipboard
open
fun
Pair
(
x
:
X
,
y
:
Y
)
Content copied to clipboard
Construct a new pair with two data types.
Properties
x
Link copied to clipboard
private
val
x
:
X
Content copied to clipboard
y
Link copied to clipboard
private
val
y
:
Y
Content copied to clipboard