public class DemandTag extends Object implements Serializable
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Class and Description |
---|---|
static class |
DemandTag.DemandType
Demand type.
|
Constructor and Description |
---|
DemandTag() |
Modifier and Type | Method and Description |
---|---|
static double |
parseFactor(String value)
Parses a String of percentage or value to a double.
|
public static double parseFactor(String value) throws XmlParserException
value
- String; valueXmlParserException
- if factor is not in range from 0 to 1Copyright © 2014–2019 Delft University of Technology. All rights reserved.