Package org.maproulette.client.model
Class PointInformation
- java.lang.Object
-
- org.maproulette.client.model.PointInformation
-
- All Implemented Interfaces:
java.io.Serializable
public class PointInformation extends java.lang.Object implements java.io.SerializableSimple object representing a Point that can be displayed on the map. The point can contain information that then can be displayed on the map when clicked.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PointInformation(double latitude, double longitude)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetDescription()doublegetLatitude()doublegetLongitude()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getLatitude
public double getLatitude()
-
getLongitude
public double getLongitude()
-
getDescription
public java.lang.String getDescription()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-