Hi All,
Is there any overhead in using class B instead of class A?
And if so, how substantial is it?
This could influence the architecture of the Notation architecture...
class A implements Observer{
public someFunction(){
callSomeFunction(this);
}
public void update(Observable o, Object arg) {
doSomething();
}
}
class B {
public someFunction(){
callSomeFunction(new Observer() {
public void update(Observable o, Object arg) {
doSomething();
}
});
}
}
Regards,
Michiel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]