Object SpeedSpec
-
- All Implemented Interfaces:
-
com.uchuhimo.konf.Spec
public class SpeedSpec extends ConfigSpec
A specification of the parameters regarding speeds to load from a config file.
-
-
Field Summary
Fields Modifier and Type Field Description private final RequiredItem<Double>
childMale
private final RequiredItem<Double>
adultMale
private final RequiredItem<Double>
elderlyMale
private final RequiredItem<Double>
childFemale
private final RequiredItem<Double>
adultFemale
private final RequiredItem<Double>
elderlyFemale
private final RequiredItem<Double>
default
private final RequiredItem<Double>
variance
private final Set<Spec>
innerSpecs
private final Set<Item<?>>
items
private final String
prefix
public final static SpeedSpec
INSTANCE
-
Method Summary
Modifier and Type Method Description final RequiredItem<Double>
getChildMale()
The walking speed of a young male. final RequiredItem<Double>
getAdultMale()
The walking speed of an adult male. final RequiredItem<Double>
getElderlyMale()
The walking speed of an elderly male. final RequiredItem<Double>
getChildFemale()
The walking speed of a young female. final RequiredItem<Double>
getAdultFemale()
The walking speed of an adult female. final RequiredItem<Double>
getElderlyFemale()
The walking speed of an elderly female. final RequiredItem<Double>
getDefault()
The default walking speed, if the pedestrian details have not been defined. final RequiredItem<Double>
getVariance()
The walking speed variance. -
Methods inherited from class com.uchuhimo.konf.ConfigSpec
addInnerSpec, addItem, getInnerSpecs, getItems, getPrefix, lazy, optional, required
-
Methods inherited from class com.uchuhimo.konf.Spec
get, plus, qualify, withFallback, withPrefix
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getChildMale
final RequiredItem<Double> getChildMale()
The walking speed of a young male.
-
getAdultMale
final RequiredItem<Double> getAdultMale()
The walking speed of an adult male.
-
getElderlyMale
final RequiredItem<Double> getElderlyMale()
The walking speed of an elderly male.
-
getChildFemale
final RequiredItem<Double> getChildFemale()
The walking speed of a young female.
-
getAdultFemale
final RequiredItem<Double> getAdultFemale()
The walking speed of an adult female.
-
getElderlyFemale
final RequiredItem<Double> getElderlyFemale()
The walking speed of an elderly female.
-
getDefault
final RequiredItem<Double> getDefault()
The default walking speed, if the pedestrian details have not been defined.
-
getVariance
final RequiredItem<Double> getVariance()
The walking speed variance.
-
-
-
-