org.jbpm.simulation.util
Class SimulationUtils
java.lang.Object
org.jbpm.simulation.util.SimulationUtils
public class SimulationUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HUNDRED
public static final double HUNDRED
- See Also:
- Constant Field Values
formatter
public static final NumberFormat formatter
SimulationUtils
public SimulationUtils()
asInt
public static int asInt(Object value)
asDouble
public static double asDouble(Object value)
asLong
public static long asLong(Object value)
getTimeUnit
public static TimeUnit getTimeUnit(Map<String,Object> element)
formatDuration
public static String formatDuration(Double timeInMiliseconds)
formatDuration
public static String formatDuration(long timeInMiliseconds)
formatDouble
public static String formatDouble(double value)
getProperty
public static <T> T getProperty(String property,
Map<String,? extends Object> settings,
Class<T> classOfProperty,
T defaultValue)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.