Class Misc

java.lang.Object
edu.tufts.hrilab.action.operators.Misc

public final class Misc extends Object
  • Constructor Details

    • Misc

      public Misc()
  • Method Details

    • sleep

      public static void sleep(long ms) throws OperatorException
      Throws:
      OperatorException
    • randomInt

      public static int randomInt(int lower, int upper)
    • randomDouble

      public static double randomDouble(int lower, int upper)
    • log

      public static void log(String level, Object o)
    • isVariable

      public static boolean isVariable(String str)
    • isNull

      public static boolean isNull(Object a)
      Return true if a is null, false otherwise.
      Parameters:
      a -
      Returns:
    • setNull

      public static Object setNull()
      Assign null value to an object.
      Returns: