public final class StkFacilityDatabaseExtensions extends Object
StkFacilityDatabase
.Modifier and Type | Method and Description |
---|---|
static ArrayList<Platform> |
createPlatforms(StkFacilityDatabase database)
Creates a platform for each facility entry in the supplied database.
|
static ArrayList<Platform> |
createPlatforms(StkFacilityDatabase database,
StkFacilityDatabaseQuery query)
Creates platforms representing the facilities in the database that match the input query.
|
@Nonnull public static ArrayList<Platform> createPlatforms(StkFacilityDatabase database)
See StkFacilityDatabaseEntryExtensions.createPlatform(agi.foundation.stk.StkFacilityDatabaseEntry)
for details regarding the produced platforms.
database
- The database containing StkFacilityEntries
.@Nonnull public static ArrayList<Platform> createPlatforms(StkFacilityDatabase database, StkFacilityDatabaseQuery query)
See StkFacilityDatabaseEntryExtensions.createPlatform(agi.foundation.stk.StkFacilityDatabaseEntry)
for details regarding the produced platforms.
database
- The input STK Facility database.query
- The query used to select facilities.