AI-generated Key Takeaways
-
Lane.Builderis an abstract class used to create instances ofLaneobjects, 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.Builderby callingLane.builder(), then customize it and build aLaneobject withbuild().
public static abstract class
Lane.Builder
extends Object
A builder of Lane. You can obtain instances via Lane.builder().
Public Constructor Summary
|
Builder()
|
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.Builder setLaneDirections (List<LaneDirection> laneDirections)
Parameters
| laneDirections |
|---|