@Override public boolean equals(Object other) { if (!(other instanceof EventListenerWrapper)) { return false; } EventListenerWrapper l2 = (EventListenerWrapper) other; return listener.equals(l2.listener); }
@Override public int hashCode() { return listener.hashCode(); }