public class LocationCommand implements Command
Class defining interface Command
object for transmitting location coordinates.
interface Command
Constructor and Description |
---|
LocationCommand(double latitude,
double longitude,
java.lang.String freeFormAddress)
Class defining
interface Command object for transmitting location coordinates. |
Modifier and Type | Method and Description |
---|---|
double |
component1() |
double |
component2() |
java.lang.String |
component3() |
LocationCommand |
copy(double latitude,
double longitude,
java.lang.String freeFormAddress)
Class defining
interface Command object for transmitting location coordinates. |
boolean |
equals(java.lang.Object p) |
java.lang.String |
getFreeFormAddress() |
double |
getLatitude() |
double |
getLongitude() |
int |
hashCode() |
java.lang.String |
toString() |
public LocationCommand(double latitude, double longitude, java.lang.String freeFormAddress)
Class defining interface Command
object for transmitting location coordinates.
interface Command
public double getLatitude()
public double getLongitude()
public java.lang.String getFreeFormAddress()
public double component1()
public double component2()
public java.lang.String component3()
public LocationCommand copy(double latitude, double longitude, java.lang.String freeFormAddress)
Class defining interface Command
object for transmitting location coordinates.
interface Command
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)