Class stl_EventQueue

java.lang.Object
com.jackmeng.stl.stl_EventQueue
All Implemented Interfaces:
java.lang.Runnable

public class stl_EventQueue
extends java.lang.Object
implements java.lang.Runnable
  • Field Summary

    Fields
    Modifier and Type Field Description
    private java.util.LinkedList<java.lang.Runnable> eventQueue  
    private boolean isProcessingEvents  
  • Constructor Summary

    Constructors
    Constructor Description
    stl_EventQueue()  
  • Method Summary

    Modifier and Type Method Description
    void add​(java.lang.Runnable event)  
    void run()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • eventQueue

      private final java.util.LinkedList<java.lang.Runnable> eventQueue
    • isProcessingEvents

      private boolean isProcessingEvents
  • Constructor Details

    • stl_EventQueue

      public stl_EventQueue()
  • Method Details

    • add

      public void add​(java.lang.Runnable event)
    • run

      public void run()
      Specified by:
      run in interface java.lang.Runnable