/SBERxSTUDRE

:cityscape: Loading, sorting, searching

Primary LanguageJava

SBERxSTUDRE

Stages of solving the problem

  1. Loading the directory data;
  2. Implementation of several options for sorting directory data;
  3. Implementation of the search for the city with the largest number of residents;
  4. Implementation of the search for the number of cities by regions.
[489]=11514330
Вологодская область = 15
Татарстан = 22
Хабаровский край = 7
...
City{name='Абаза', region='Хакасия', district='Сибирский', population=17111, foundation='1867'}
City{name='Абакан', region='Хакасия', district='Сибирский', population=165183, foundation='1931'}
...
City{name='Ясный', region='Оренбургская область', district='Приволжский', population=16082, foundation='1961'}
City{name='Яхрома', region='Московская область', district='Центральный', population=13248, foundation='1841'}
City{name='Алдан', region='Якутия', district='Дальневосточный', population=21277, foundation='1924'}
City{name='Александровск-Сахалинский', region='Сахалинская область', district='Дальневосточный', population=10613, foundation='1869'}
...
City{name='Шахты', region='Ростовская область', district='Южный', population=240152, foundation='1805'}
City{name='Элиста', region='Калмыкия', district='Южный', population=103728, foundation='1865'}