Class BusEventKey

java.lang.Object
it.rebirthproject.ufoeb.dto.BusEventKey

public final class BusEventKey extends Object
A key for events used by the EventBus' maps internally
See Also:
  • Field Details

    • eventClass

      private final Class<?> eventClass
      The class of the event
  • Constructor Details

    • BusEventKey

      public BusEventKey(Class<?> eventClass)
      The constructor to create a BusEventKey
      Parameters:
      eventClass - The class of the event
  • Method Details

    • getEventClass

      public Class<?> getEventClass()
      Get the class of the event
      Returns:
      The class of the event
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object