public class PrioritizedListener<TListener> extends Object implements Comparable<PrioritizedListener<TListener>>
| Constructor and Description |
|---|
PrioritizedListener(TListener listener,
ListenerPriority priority) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PrioritizedListener<TListener> other) |
boolean |
equals(Object obj) |
TListener |
getListener()
Retrieve the underlying listener.
|
ListenerPriority |
getPriority()
Retrieve the priority of this listener.
|
int |
hashCode() |
public PrioritizedListener(TListener listener, ListenerPriority priority)
public int compareTo(PrioritizedListener<TListener> other)
compareTo in interface Comparable<PrioritizedListener<TListener>>public TListener getListener()
public ListenerPriority getPriority()
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.