Class Position

java.lang.Object
com.mongodb.client.model.geojson.Position

@Immutable @Deprecated(since="2021-05-27") public final class Position extends Object
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A representation of a GeoJSON Position.
Since:
3.1
  • Constructor Summary

    Constructors
    Constructor
    Description
    Position(double first, double second, double... remaining)
    Deprecated.
    Construct an instance.
    Position(List<Double> values)
    Deprecated.
    Construct an instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    Deprecated.
    Gets the values of this position
    int
    Deprecated.
     
    Deprecated.
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Position

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

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

    • getValues

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

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object