AI-generated Key Takeaways
-
Lane.Builder
is an abstract class used to create instances ofLane
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 callingLane.builder()
, then customize it and build aLane
object 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 |
---|