Class Position


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

      • Position

        public Position(List<Double> 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 List<Double> getValues()
        Gets the values of this position
        Returns:
        the values of the position
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object