MATSIM
core
mobsim
qsim
components
DefaultQSimComponentsConfigurator.java
Go to the documentation of this file.
1
2
/* *********************************************************************** *
3
* project: org.matsim.*
4
* DefaultQSimComponentsConfigurator.java
5
* *
6
* *********************************************************************** *
7
* *
8
* copyright : (C) 2019 by the members listed in the COPYING, *
9
* LICENSE and WARRANTY file. *
10
* email : info at matsim dot org *
11
* *
12
* *********************************************************************** *
13
* *
14
* This program is free software; you can redistribute it and/or modify *
15
* it under the terms of the GNU General Public License as published by *
16
* the Free Software Foundation; either version 2 of the License, or *
17
* (at your option) any later version. *
18
* See also COPYING, LICENSE and WARRANTY file *
19
* *
20
* *********************************************************************** */
21
22
package
org.matsim.core.mobsim.qsim.components;
23
24
public
class
DefaultQSimComponentsConfigurator
implements
QSimComponentsConfigurator
{
25
@Override
26
public
void
configure
(
QSimComponentsConfig
components) {
27
components.
clear
();
28
QSimComponentsConfigGroup
.
DEFAULT_COMPONENTS
.forEach(components::addNamedComponent);
29
}
30
}
org.matsim.core.mobsim.qsim.components.DefaultQSimComponentsConfigurator
Definition:
DefaultQSimComponentsConfigurator.java:24
org.matsim.core.mobsim.qsim.components.QSimComponentsConfigurator
Definition:
QSimComponentsConfigurator.java:24
org.matsim.core.mobsim.qsim.components.QSimComponentsConfig.clear
void clear()
Definition:
QSimComponentsConfig.java:151
org.matsim.core.mobsim.qsim.components.QSimComponentsConfigGroup
Definition:
QSimComponentsConfigGroup.java:36
org.matsim.core.mobsim.qsim.components.QSimComponentsConfigGroup.DEFAULT_COMPONENTS
static final List< String > DEFAULT_COMPONENTS
Definition:
QSimComponentsConfigGroup.java:41
org.matsim.core.mobsim.qsim.components.QSimComponentsConfig
Definition:
QSimComponentsConfig.java:43
org.matsim.core.mobsim.qsim.components.DefaultQSimComponentsConfigurator.configure
void configure(QSimComponentsConfig components)
Definition:
DefaultQSimComponentsConfigurator.java:26
Generated by
1.8.13