public class SimulationUtils extends Object
Modifier and Type | Field and Description |
---|---|
static NumberFormat |
formatter |
static double |
HUNDRED |
static HashMap<String,String> |
timeUnitMapping |
Constructor and Description |
---|
SimulationUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
asDouble(Object value) |
static int |
asInt(Object value) |
static long |
asLong(Object value) |
static String |
formatDouble(double value) |
static String |
formatDuration(Double timeInMiliseconds) |
static String |
formatDuration(long timeInMiliseconds) |
static <T> T |
getProperty(String property,
Map<String,? extends Object> settings,
Class<T> classOfProperty,
T defaultValue) |
static TimeUnit |
getTimeUnit(Map<String,Object> element) |
public static final double HUNDRED
public static final NumberFormat formatter
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.