LaneAccess (API Reference)
Class LaneAccess
A class which identifies the vehicle type(s) allowed to access a lane.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanFour-wheel vehicles that are allowed according to national/local vehicle regulations to drive on motorways, ranging from sub-compact cars to full-size vans and light road vehicles.booleanBuses that are used for public transportation.booleanRepresents the sharing of car journeys so that more than one person travels in a car, and prevents the need for others to have to drive to a location themselves.booleanDeliverytrucksthat are permitted to enter the city proper to unload goods at businesses.booleanAny vehicle that is designated and authorized to respond to an emergency in a life-threatening situation.booleanMotorized two-wheeled passenger vehicles.booleanPersons traveling on foot, whether walking or running.booleanFour-wheel vehicles that are usually fitted with a taximeter, that may be hired, along with their driver, to carry passengers to any specified destination.booleanPassenger vehicles (i.e., those defined as passenger car/automobiles) that are allowed to access roads that have traffic restrictions.booleanLarge vehicles that range from medium to heavy duty trucks. -
Constructor Summary
ConstructorsConstructorDescriptionLaneAccess(boolean automobiles, boolean buses, boolean taxis, boolean carpools, boolean pedestrians, boolean trucks, boolean throughTraffic, boolean deliveryVehicles, boolean emergencyVehicles, boolean motorcycles) Creates a new instance. -
Method Summary
-
Field Details
-
automobiles
public boolean automobilesFour-wheel vehicles that are allowed according to national/local vehicle regulations to drive on motorways, ranging from sub-compact cars to full-size vans and light road vehicles.
-
buses
public boolean busesBuses that are used for public transportation.
-
taxis
public boolean taxisFour-wheel vehicles that are usually fitted with a taximeter, that may be hired, along with their driver, to carry passengers to any specified destination.
-
carpools
public boolean carpoolsRepresents the sharing of car journeys so that more than one person travels in a car, and prevents the need for others to have to drive to a location themselves.
-
pedestrians
public boolean pedestriansPersons traveling on foot, whether walking or running.
-
trucks
public boolean trucksLarge vehicles that range from medium to heavy duty trucks.
-
throughTraffic
public boolean throughTrafficPassenger vehicles (i.e., those defined as passenger car/automobiles) that are allowed to access roads that have traffic restrictions.
-
deliveryVehicles
public boolean deliveryVehiclesDelivery
trucksthat are permitted to enter the city proper to unload goods at businesses. -
emergencyVehicles
public boolean emergencyVehiclesAny vehicle that is designated and authorized to respond to an emergency in a life-threatening situation.
-
motorcycles
public boolean motorcyclesMotorized two-wheeled passenger vehicles. Generally, mopeds are considered motorcycles.
-
-
Constructor Details
-
LaneAccess
public LaneAccess(boolean automobiles, boolean buses, boolean taxis, boolean carpools, boolean pedestrians, boolean trucks, boolean throughTraffic, boolean deliveryVehicles, boolean emergencyVehicles, boolean motorcycles) Creates a new instance.
- Parameters:
automobiles-Four-wheel vehicles that are allowed according to national/local vehicle regulations to drive on motorways, ranging from sub-compact cars to full-size vans and light road vehicles.
buses-Buses that are used for public transportation.
taxis-Four-wheel vehicles that are usually fitted with a taximeter, that may be hired, along with their driver, to carry passengers to any specified destination.
carpools-Represents the sharing of car journeys so that more than one person travels in a car, and prevents the need for others to have to drive to a location themselves.
pedestrians-Persons traveling on foot, whether walking or running.
trucks-Large vehicles that range from medium to heavy duty trucks.
throughTraffic-Passenger vehicles (i.e., those defined as passenger car/automobiles) that are allowed to access roads that have traffic restrictions.
deliveryVehicles-Delivery
trucksthat are permitted to enter the city proper to unload goods at businesses.emergencyVehicles-Any vehicle that is designated and authorized to respond to an emergency in a life-threatening situation.
motorcycles-Motorized two-wheeled passenger vehicles. Generally, mopeds are considered motorcycles.
-
-
Method Details