Class SmoothingConfigurator<T extends Smoothing>
- java.lang.Object
-
- org.planit.utils.builder.Configurator<T>
-
- org.planit.sdinteraction.smoothing.SmoothingConfigurator<T>
-
- Type Parameters:
T
- smoothing type
- Direct Known Subclasses:
MSASmoothingConfigurator
public class SmoothingConfigurator<T extends Smoothing> extends Configurator<T>
Base class for all smoothing configurator implementations- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.planit.utils.builder.Configurator
delayedMethodCalls
-
-
Constructor Summary
Constructors Constructor Description SmoothingConfigurator(Class<T> instanceType)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Smoothing smoothing)
Needed to avoid issues with generics, although it should be obvious that T extends Smoothing-
Methods inherited from class org.planit.utils.builder.Configurator
callVoidMethod, collectParameterTypes, getClassTypeToConfigure, getFirstParameterOfDelayedMethodCall, registerDelayedMethodCall
-
-
-
-
Method Detail
-
configure
public void configure(Smoothing smoothing) throws PlanItException
Needed to avoid issues with generics, although it should be obvious that T extends Smoothing- Overrides:
configure
in classConfigurator<T extends Smoothing>
- Parameters:
smoothing
- the instance to configure- Throws:
PlanItException
- thrown if error
-
-