Class GeoMultiPoint

    • Field Detail

      • positions

        public final Position[] positions
        Positions contained in this multi-point GeoJSON object.
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a single text line containing all the positions.
        Overrides:
        toString in class GeoObject
        Returns:
        text listing positions.
      • equals

        public boolean equals​(java.lang.Object o)
        Returns true if o is a non-null GeoMultiPoint with a position array equaling this GeoMultiPoint position array. Otherwise returns false.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - comparison object.
        Returns:
        true if o is a non-null GeoMultiPoint with a position array equaling this GeoMultiPoint position array.
      • hashCode

        public int hashCode()
        Returns hash code of contained positions.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        contained positions hash code.
      • builder

        public static GeoMultiPoint.Builder builder()
        Returns a new GeoJSON multi-point builder instance.
        Returns:
        GeoMultiPoint builder instance.