getZoneWithOnlyAreas

fun getZoneWithOnlyAreas(areas: Set<VehicleArea>): VehicleZone<A>?

Returns the supported VehicleZone that contains only the given set of VehicleAreas.

Return

The VehicleZone containing the given areas only; null otherwise.

Parameters

areas

The set of VehicleAreas to get the zone for.