public abstract class RandomTimer extends ConstantTimer implements ModifiableTimer, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
RANGE |
DELAY
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
RandomTimer()
No-arg constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Random |
getRandom() |
double |
getRange()
Get the range value.
|
void |
setRange(double range)
Set the range value.
|
void |
setRange(String range) |
delay, getDelay, iterationStart, setDelay, toString
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
finalize, getClass, notify, notifyAll, wait, wait, wait
isModifiable
removed
public static final String RANGE
public void setRange(double range)
setRange
in class ConstantTimer
range
- Not usedpublic void setRange(String range)
public double getRange()
getRange
in class ConstantTimer
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.