@InternalOnly class EventHandlerWithPriority<T extends EventHandler<?>> extends java.lang.Object implements java.lang.Comparable<EventHandlerWithPriority>
Constructor and Description |
---|
EventHandlerWithPriority(T handler,
int level) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EventHandlerWithPriority other) |
boolean |
equals(java.lang.Object o) |
T |
getHandler() |
int |
getLevel() |
int |
hashCode() |
java.lang.String |
toString() |
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(@NotNull EventHandlerWithPriority other)
compareTo
in interface java.lang.Comparable<EventHandlerWithPriority>
public int getLevel()
@NotNull public java.lang.String toString()
toString
in class java.lang.Object