Class Position


  • @Immutable
    public final class Position
    extends 
    A representation of a GeoJSON Position.
    Since:
    3.1
    • Constructor Summary

      Constructors 
      Constructor Description
      Position​(double first, double second, double... remaining)
      Construct an instance.
      <> values)
      Construct an instance.
    • Constructor Detail

      • Position

        public Position​(<> values)
        Construct an instance.
        Parameters:
        values - the non-null values
      • Position

        public Position​(double first,
                        double second,
                        double... remaining)
        Construct an instance.
        Parameters:
        first - the first value
        second - the second value
        remaining - the remaining values
    • Method Detail

      • getValues

        public <> getValues()
        Gets the values of this position
        Returns:
        the values of the position
      • equals

        public boolean equals​( o)
        Overrides:
         in class 
      • hashCode

        public int hashCode()
        Overrides:
         in class 
      • toString

        public  toString()
        Overrides:
         in class