com.hammingweight.hammock.mocks.microedition.location
Class MockCoordinates
java.lang.Object
javax.microedition.location.Coordinates
com.hammingweight.hammock.mocks.microedition.location.MockCoordinates
- All Implemented Interfaces:
- IMockObject
public class MockCoordinates
- extends javax.microedition.location.Coordinates
- implements IMockObject
Fields inherited from class javax.microedition.location.Coordinates |
DD_MM, DD_MM_SS |
Methods inherited from class javax.microedition.location.Coordinates |
convert, convert |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTHD_AZIMUTH_TO_$_COORDINATES
public static final MockMethod MTHD_AZIMUTH_TO_$_COORDINATES
MTHD_DISTANCE_$_COORDINATES
public static final MockMethod MTHD_DISTANCE_$_COORDINATES
MTHD_GET_ALTITUDE
public static final MockMethod MTHD_GET_ALTITUDE
MTHD_GET_LATITUDE
public static final MockMethod MTHD_GET_LATITUDE
MTHD_GET_LONGITUDE
public static final MockMethod MTHD_GET_LONGITUDE
MTHD_SET_ALTITUDE_$_FLOAT
public static final MockMethod MTHD_SET_ALTITUDE_$_FLOAT
MTHD_SET_LATITUDE_$_DOUBLE
public static final MockMethod MTHD_SET_LATITUDE_$_DOUBLE
MTHD_SET_LONGITUDE_$_DOUBLE
public static final MockMethod MTHD_SET_LONGITUDE_$_DOUBLE
MockCoordinates
public MockCoordinates(double arg0,
double arg1,
float arg2)
MockCoordinates
public MockCoordinates(double arg0,
double arg1,
float arg2,
IInvocationHandler handler)
setInvocationHandler
public final void setInvocationHandler(IInvocationHandler handler)
- Description copied from interface:
IMockObject
- Sets the invocation handler that the mock object should use to evaluate
method invocations.
- Specified by:
setInvocationHandler
in interface IMockObject
- Parameters:
handler
- The invocation handler to be used by the mock object.
getInvocationHandler
public final IInvocationHandler getInvocationHandler()
- Description copied from interface:
IMockObject
- Gets the invocation handler that the mock object uses to evaluate method
invocations.
- Specified by:
getInvocationHandler
in interface IMockObject
- Returns:
- The invocation handler used by the mock object.
azimuthTo
public float azimuthTo(javax.microedition.location.Coordinates arg0)
- Overrides:
azimuthTo
in class javax.microedition.location.Coordinates
distance
public float distance(javax.microedition.location.Coordinates arg0)
- Overrides:
distance
in class javax.microedition.location.Coordinates
getAltitude
public float getAltitude()
- Overrides:
getAltitude
in class javax.microedition.location.Coordinates
getLatitude
public double getLatitude()
- Overrides:
getLatitude
in class javax.microedition.location.Coordinates
getLongitude
public double getLongitude()
- Overrides:
getLongitude
in class javax.microedition.location.Coordinates
setAltitude
public void setAltitude(float arg0)
- Overrides:
setAltitude
in class javax.microedition.location.Coordinates
setLatitude
public void setLatitude(double arg0)
- Overrides:
setLatitude
in class javax.microedition.location.Coordinates
setLongitude
public void setLongitude(double arg0)
- Overrides:
setLongitude
in class javax.microedition.location.Coordinates