Skip to content

Instantly share code, notes, and snippets.

@ruan65
Created June 30, 2016 13:35
Show Gist options
  • Save ruan65/a7a7a0d4ae23e455b5fcc1808df0cb32 to your computer and use it in GitHub Desktop.
Save ruan65/a7a7a0d4ae23e455b5fcc1808df0cb32 to your computer and use it in GitHub Desktop.
public class InMemoryStore {
private Map<String, String> locations = new HashMap<>();
public String getLocationByCode(String code) {
return locations.get(code);
}
public Map<String, String> setLocations() {
return null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment