Class ChannelTaskRoadSideDistraction.Supplier
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.channel.ChannelTaskRoadSideDistraction.Supplier
- All Implemented Interfaces:
Function<LanePerception,Set<ChannelTask>>
- Enclosing class:
- ChannelTaskRoadSideDistraction
public static class ChannelTaskRoadSideDistraction.Supplier
extends Object
implements Function<LanePerception,Set<ChannelTask>>
Supplier of distraction tasks. This supplier returns a persistent set in which each distraction task shares a distraction
field.
-
Constructor Details
-
Supplier
Constructor.- Parameters:
gtu- GTU
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<LanePerception,Set<ChannelTask>>
-