All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asmatron.messengine.event.EmptyEvent Maven / Gradle / Ivy

package org.asmatron.messengine.event;

public class EmptyEvent extends EventObject {

  public static final EmptyEvent INSTANCE = new EmptyEvent();

  private EmptyEvent() {
  }

  @Override
  public int hashCode() {
    return 31;
  }

  @Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (obj == null) {
      return false;
    }
    return this.getClass() == obj.getClass();
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy