-
public final class PointKt
-
-
Method Summary
Modifier and Type Method Description final static Doublecomponent1(Point $self)Returns the x value of this Point. final static Doublecomponent2(Point $self)Returns the y value of this Point. -
-
Method Detail
-
component1
final static Double component1(Point $self)
Returns the x value of this Point.
e.g.
val (x, _) = point
-
component2
final static Double component2(Point $self)
Returns the y value of this Point.
e.g.
val (_, y) = point
-
-
-
-