com.activequant.utils.events
Class Event2<T1,T2>
java.lang.Object
com.activequant.utils.events.Event2<T1,T2>
public class Event2<T1,T2>
- extends Object
Generic event
History:
- [24.10.2006] Created (Erik Nijkamp)
- [30.10.2006] Added isEmpty() (Erik Nijkamp)
- Author:
- Erik Nijkamp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Event2
public Event2()
fire
public void fire(T1 t1,
T2 t2)
throws Exception
- Throws:
Exception
size
public int size()
isEmpty
public boolean isEmpty()
addEventListener
public IEventListener2<T1,T2> addEventListener(IEventListener2<T1,T2> listener)
removeEventListener
public void removeEventListener(IEventListener2<T1,T2> listener)
clear
public void clear()
forward
public void forward(Event2<T1,T2> target)
Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.