public final class StkCityDatabaseExtensions extends Object
StkCityDatabase
.Modifier and Type | Method and Description |
---|---|
static ArrayList<Platform> |
createPlatforms(StkCityDatabase database)
Creates a platform for each city entry in the supplied database.
|
static ArrayList<Platform> |
createPlatforms(StkCityDatabase database,
StkCityDatabaseQuery query)
Creates platforms representing the cities in the database that match the input query.
|
@Nonnull public static ArrayList<Platform> createPlatforms(StkCityDatabase database)
See StkCityDatabaseEntryExtensions.createPlatform(agi.foundation.stk.StkCityDatabaseEntry)
for details regarding the produced platforms.
database
- The database containing StkCityDatabaseEntries
.@Nonnull public static ArrayList<Platform> createPlatforms(StkCityDatabase database, StkCityDatabaseQuery query)
See StkCityDatabaseEntryExtensions.createPlatform(agi.foundation.stk.StkCityDatabaseEntry)
for details regarding the produced platforms.
database
- The input STK City database.query
- The query used to select cities.