com.sola.instagram.model
Class Location
java.lang.Object
com.sola.instagram.model.InstagramModel
com.sola.instagram.model.Location
public class Location
- extends InstagramModel
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Location
public Location(JSONObject obj,
java.lang.String accessToken)
getId
public int getId()
getName
public java.lang.String getName()
getLongitude
public java.lang.Double getLongitude()
getLatitude
public java.lang.Double getLatitude()
equals
public boolean equals(java.lang.Object o)
- Checks if two location objects are equal
- Overrides:
equals
in class java.lang.Object
- Parameters:
o
- The object to be compared
- Returns:
- True of the two objects are equal, false otherwise