package uk.ac.lkl.common.util.collections.event;
import uk.ac.lkl.common.util.event.EventObject;
// could bound S (the source) by NotifyingCollection if had one
public class CollectionEvent<S, T> extends EventObject<S> {
private T element;
public CollectionEvent(S source, T element) {
super(source);
this.element = element;
}
public T getElement() {
return element;
}
}
|