Package com.mongodb.client.model.geojson
Class Position
- java.lang.Object
-
- com.mongodb.client.model.geojson.Position
-
@Immutable @Deprecated(since="2021-05-27") public final class Position extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.A representation of a GeoJSON Position.- Since:
- 3.1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.java.util.List<java.lang.Double>
getValues()
Deprecated.Gets the values of this positionint
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
Position
public Position(java.util.List<java.lang.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 valuesecond
- the second valueremaining
- the remaining values
-
-
Method Detail
-
getValues
public java.util.List<java.lang.Double> getValues()
Deprecated.Gets the values of this position- Returns:
- the values of the position
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-