Class Path


  • public class Path
    extends Object
    Path data type in Postgres represented by lists of connected points. Paths can be open, where the first and last points in the list are considered not connected, or closed, where the first and last points are considered connected.
    • Constructor Detail

      • Path

        public Path()
      • Path

        public Path​(boolean isOpen,
                    List<Point> points)
    • Method Detail

      • isOpen

        public boolean isOpen()
      • setOpen

        public void setOpen​(boolean open)
      • setPoints

        public void setPoints​(List<Point> points)
      • addPoint

        public Path addPoint​(Point point)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object