Methods Summary |
---|
public java.util.Map | getAvailableCities()
Map map = new LinkedHashMap();
map.put("boston", "Boston");
map.put("new york", "New York");
map.put("london", "London");
map.put("rome", "Rome");
return map;
|
public java.util.Map | getDefaultFavouriteCars()
Map m = new LinkedHashMap();
m.put("alfaRomeo", "Alfa Romeo");
m.put("Toyota", "Toyota");
m.put("Mitsubitshi", "Mitsubitshi");
return m;
|
public java.util.Map | getDefaultFavouriteCartoonCharacters()
Map m = new LinkedHashMap();
m.put("heMan", "He-Man");
m.put("popeye", "Popeye");
m.put("mockeyMouse", "Mickey Mouse");
return m;
|
public java.util.List | getDefaultFavouriteCities()
List list = new ArrayList();
list.add("boston");
list.add("rome");
return list;
|
public java.util.Map | getDefaultFavouriteCountries()
Map m = new LinkedHashMap();
m.put("england", "England");
m.put("america", "America");
m.put("brazil", "Brazil");
return m;
|
public java.util.List | getDefaultFavouriteNumbers()
List list = new ArrayList();
list.add("Three");
list.add("Seven");
return list;
|
public java.util.List | getFavouriteNumbers()
return favouriteNumbers;
|
public java.util.List | getPrioritisedFavouriteCars()
return _prioritisedFavouriteCars;
|
public java.util.List | getPrioritisedFavouriteCartoonCharacters()
return _prioritisedFavouriteCartoonCharacters;
|
public java.util.List | getPrioritisedFavouriteCountries()
return _prioritisedFavouriteCountries;
|
public java.lang.String | input()
return SUCCESS;
|
public void | setFavouriteNumbers(java.util.List favouriteNumbers)
this.favouriteNumbers = favouriteNumbers;
|
public void | setPrioritisedFavouriteCars(java.util.List prioritisedFavouriteCars)
_prioritisedFavouriteCars = prioritisedFavouriteCars;
|
public void | setPrioritisedFavouriteCartoonCharacters(java.util.List prioritisedFavouriteCartoonCharacters)
_prioritisedFavouriteCartoonCharacters = prioritisedFavouriteCartoonCharacters;
|
public void | setPrioritisedFavouriteCountries(java.util.List prioritisedFavouriteCountries)
_prioritisedFavouriteCountries = prioritisedFavouriteCountries;
|
public java.lang.String | submit()
return SUCCESS;
|