Tuple2Like

interface Tuple2Like<A1, A2>

Represents a tuple like data structure which has 2 components.

Since

2.1.0

Functions

Link copied to clipboard
abstract operator fun component1(): A1

Returns the 1st component of this Tuple2Like data structure.

Link copied to clipboard
abstract operator fun component2(): A2

Returns the 2nd component of this Tuple2Like data structure.

Link copied to clipboard
open fun toTuple(): Pair<A1, A2>

Turns this class into a Pair.