Package 

Class Event


  • 
    public class Event<T extends Object>
    
                        
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Boolean hasBeenHandled
    • Constructor Summary

      Constructors 
      Constructor Description
      Event(T content)
    • Method Summary

      Modifier and Type Method Description
      final Boolean getHasBeenHandled()
      final Unit setHasBeenHandled(Boolean hasBeenHandled)
      final T getContentIfNotHandled() 单次使用数据,避免多次使用出现脏数据
      final T peekContent()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait