Class Point


  • public final class Point
    extends Object
    A 2-D point.

    Synchronization

    This class is not synchronized. Instances of this class either must not be shared across threads or the client must ensure threadsafety. Multiple instances of this class can coexist safely.
    • Field Detail

      • x

        public double x
      • y

        public double y
    • Constructor Detail

      • Point

        public Point​(double x,
                     double y)