Lane.Builder

  • Lane.Builder is an abstract class used to create instances of Lane objects, which represent lanes on a road.

  • It provides methods to specify the allowed directions of travel within a lane using setLaneDirections.

  • You can obtain an instance of Lane.Builder by calling Lane.builder(), then customize it and build a Lane object with build().

public static abstract class Lane.Builder extends Object

A builder of Lane. You can obtain instances via Lane.builder().

Public Constructor Summary

Public Method Summary

abstract Lane
build()
abstract Lane.Builder
setLaneDirections(List<LaneDirection> laneDirections)

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public abstract Lane build ()

public abstract Lane.Builder setLaneDirections (List<LaneDirection> laneDirections)

Parameters
laneDirections