Package spin.demo

Class Assert


  • public class Assert
    extends java.lang.Object
    Utility class to assert correct thread handling.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void offEDT()
      Must be executed off the EDT.
      static void onEDT()
      Must be executed on the EDT.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onEDT

        public static void onEDT()
        Must be executed on the EDT.
      • offEDT

        public static void offEDT()
        Must be executed off the EDT.