CollectionEvent.java :  » Math » migen » uk » ac » lkl » common » util » collections » event » Java Open Source

Java Open Source » Math » migen 
migen » uk » ac » lkl » common » util » collections » event » CollectionEvent.java
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;
    }
    
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.