Package 

Class PointKt

    • Method Summary

      Modifier and Type Method Description
      final static Double component1(Point $self) Returns the x value of this Point.
      final static Double component2(Point $self) Returns the y value of this Point.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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