Package autocomplete.cities
Class Cities
- java.lang.Object
-
- autocomplete.cities.Cities
-
class Cities extends Object
Search the world's cities.
-
-
Field Summary
Fields Modifier and Type Field Description private static int
MAX_CITIES
Maximum number of cities to parse.private static int
MAX_MATCHES
Maximum number of matches to print.private static String
PATH
Path to the cities dataset.
-
Constructor Summary
Constructors Constructor Description Cities()
-
-
-
Field Detail
-
MAX_MATCHES
private static final int MAX_MATCHES
Maximum number of matches to print.- See Also:
- Constant Field Values
-
MAX_CITIES
private static final int MAX_CITIES
Maximum number of cities to parse.- See Also:
- Constant Field Values
-
PATH
private static final String PATH
Path to the cities dataset.- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
-