getZonesWithOneArea

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

Returns the Set of VehicleZones that contain exactly one of the given areas.

Return

The Set of VehicleZones that contain exactly one of the given areas, null if no zone is found.

Parameters

areas

The set of VehicleAreas to get the zones for.