Class Misc
java.lang.Object
edu.tufts.hrilab.action.operators.Misc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Return true if a is null, false otherwise.static boolean
isVariable
(String str) static void
static double
randomDouble
(int lower, int upper) static int
randomInt
(int lower, int upper) static Object
setNull()
Assign null value to an object.static void
sleep
(long ms)
-
Constructor Details
-
Misc
public Misc()
-
-
Method Details
-
sleep
- Throws:
OperatorException
-
randomInt
public static int randomInt(int lower, int upper) -
randomDouble
public static double randomDouble(int lower, int upper) -
log
-
isVariable
-
isNull
Return true if a is null, false otherwise.- Parameters:
a
-- Returns:
-
setNull
Assign null value to an object.- Returns:
-