Class EventWrapper


  • public class EventWrapper
    extends java.lang.Object
    Need this class because Event doesn't properly implement hashCode
    Version:
    $Id: $
    Author:
    ranger
    • Constructor Summary

      Constructors 
      Constructor Description
      EventWrapper​(Event event)
      Constructor for EventWrapper.
    • Constructor Detail

      • EventWrapper

        public EventWrapper​(Event event)

        Constructor for EventWrapper.

        Parameters:
        event - a Event object.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • getEvent

        public Event getEvent()

        getEvent

        Returns:
        a Event object.
      • hashCode

        public int hashCode()

        hashCode

        Overrides:
        hashCode in class java.lang.Object
        Returns:
        a int.
      • toString

        public java.lang.String toString()

        toString

        Overrides:
        toString in class java.lang.Object
        Returns:
        a String object.