commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Heuer <heue...@acm.org>
Subject Re: [collections] ObservedCollection checkin
Date Thu, 28 Aug 2003 20:12:51 GMT
On Thu, 28 Aug 2003, Michael Heuer wrote:

> What about
>
> StandardModificationListener
> {
>   void modificationOccurred(Evt);
> }
> VetoableModificationListener extends StandardModificationListener
> {
>   void modificationOccurring(Evt) throws ModificationVetoedException;
> }

sorry, missed an extends in there.

>
> and
>
> ObservedCollection
> {
> static ObservedCollection decorate(Collection coll,
>                                    VetoableModificationListener l) {}
> static ObservedCollection decorate(Collection coll,
>                                    StandardModificationListener l) {}
> }
>
> instead of
>
> StandardModificationListener
> {
>   void modificationOccurred(Evt);
>   void modificationOccurring(Evt) throws ModificationVetoedException;
> }
>
> and
>
> ObservedCollection
> {
> static ObservedCollection decorate(Collection coll,
>                                    StandardModificationListener l) {}
> static ObservedCollection decoratePostEventsOnly(Collection coll,
>                                    StandardModificationListener l) {}
> }
>
> ?
>
>    michael
>
> On Thu, 28 Aug 2003, Stephen Colebourne wrote:
>
> > First part of ObservedCollection checked in, allowing an event sending
> > wrapper to be written around a collection.
> >
> > TODO:
> > - Validate that the design is OK
> > - Implement ObservedList subList
> > - Test List iterators
> > - Add Bag, SortedSet, SortedBag implementations
> > - Add Fast event mechansim
> > - Add Rich event mechanism
> >
> > Stephen
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>


Mime
View raw message