public class Announcer<T extends EventListener> extends Object
Constructor and Description |
---|
Announcer(Class<? extends T> listenerType) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(T listener) |
T |
announce() |
void |
removeListener(T listener) |
static <T extends EventListener> |
to(Class<? extends T> listenerType) |
Copyright © 2003–2018 jMock. All rights reserved.