> - I see an inner class. these not considered evil anymore? Why not?

Why would anyone consider inner classes evil?  They are an absolutely
appropriate and useful language feature when used properly.

> - there can only be one listener instead of the multiple listeners

I haven't looked (at all) at the code, but if it allows only a single
listener, then it should throw an exception if a second add is attempted:

  public synchronized void add<T>Listener(<T>Listener listener)
    throws java.util.TooManyListenersException;

Sometimes you do want to allow only one listener.  Whether or not that is
the case here is another issue.

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to