org.mule.example.gpswalker
Class CityStroller

java.lang.Object
  extended by org.mule.example.gpswalker.CityStroller

public class CityStroller
extends Object

Generates a random walk around a city


Field Summary
static GpsCoord LONDON
           
static GpsCoord SAN_FRANCISCO
           
static GpsCoord VALLETTA
           
 
Constructor Summary
CityStroller()
           
 
Method Summary
 GpsCoord generateNextCoord()
           
 GpsCoord getCurrentCoord()
           
 void setCurrentCoord(GpsCoord currentCoord)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAN_FRANCISCO

public static final GpsCoord SAN_FRANCISCO

LONDON

public static final GpsCoord LONDON

VALLETTA

public static final GpsCoord VALLETTA
Constructor Detail

CityStroller

public CityStroller()
Method Detail

generateNextCoord

public GpsCoord generateNextCoord()

getCurrentCoord

public GpsCoord getCurrentCoord()

setCurrentCoord

public void setCurrentCoord(GpsCoord currentCoord)


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.