public class CountryDB
extends java.lang.Object
Constructor and Description |
---|
CountryDB()
Construct an instance of the country data collection.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getCapitals()
The capitals accessor.
|
java.util.Map<java.lang.String,Country> |
getData()
The country data accessor.
|
static void |
main(java.lang.String[] args) |
public CountryDB()
public java.util.List<java.lang.String> getCapitals()
public java.util.Map<java.lang.String,Country> getData()
public static void main(java.lang.String[] args)