Package org.opentrafficsim.core.gtu
Interface Stateless<T>
- Type Parameters:
T- component type
- All Superinterfaces:
Supplier<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines a component as stateless. It adds no methods relative to
Supplier but functions as a tagging interface for
components that are stateless. It also forces subclasses to provide an instance of themselves.
Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary