Class Utils.SmartThread

  • All Implemented Interfaces:
    Runnable
    Enclosing class:
    Utils

    public static class Utils.SmartThread
    extends Thread
    A thread that can answer if it is sleeping in the case of simulated time. This class is not useful when simulated time is not being used.
    • Constructor Detail

      • SmartThread

        public SmartThread​(Runnable r)
    • Method Detail

      • isSleeping

        public boolean isSleeping()