Class EventWrapper<K,​V,​E extends Event<K,​V>>


  • public class EventWrapper<K,​V,​E extends Event<K,​V>>
    extends java.lang.Object
    Simple wrapper that keeps the original key along with the converted event. The original key is required for things such as key tracking.
    Since:
    9.0
    Author:
    wburns
    • Constructor Summary

      Constructors 
      Constructor Description
      EventWrapper​(K key, E event)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      E getEvent()  
      K getKey()  
      void setEvent​(E event)  
      • Methods inherited from class java.lang.Object

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

      • EventWrapper

        public EventWrapper​(K key,
                            E event)
    • Method Detail

      • getEvent

        public E getEvent()
      • setEvent

        public void setEvent​(E event)
      • getKey

        public K getKey()