Class Misc
java.lang.Object
edu.tufts.hrilab.action.operators.Misc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanReturn true if a is null, false otherwise.static booleanisVariable(String str) static voidstatic doublerandomDouble(int lower, int upper) static intrandomInt(int lower, int upper) static ObjectsetNull()Assign null value to an object.static voidsleep(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:
-