public class PlaceCoordinates extends java.lang.Object implements Coordinates
Coordinates.Type
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<PlaceCoordinates> |
CREATOR
Parcelable CREATOR constant.
|
Constructor and Description |
---|
PlaceCoordinates(double x1,
double y1,
double x2,
double y2) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
Coordinates.Type |
getType() |
double |
getX1() |
double |
getX2() |
double |
getY1() |
double |
getY2() |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<PlaceCoordinates> CREATOR
public PlaceCoordinates(double x1, double y1, double x2, double y2)
public double getX1()
public double getY1()
public double getX2()
public double getY2()
public Coordinates.Type getType()
getType
in interface Coordinates
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable