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] Observed
Date Wed, 17 Sep 2003 22:39:46 GMT

On Wed, 17 Sep 2003, Stephen Colebourne wrote:

> How useful are these convenience methods? I added them, then removed them.
> Trouble is that not every handler will necessarily use listeners (although
> most will).

It seems to me that the Handler is more an artifact of designing
flexibility into the implementation than something that a client (in most
cases) wants to concern themselves with.

You raise a good exception though.

   michael


>
> Synchronized - collection is always synchronized
> Bounded - collection is always bounded
> Predicated - collection is always predicated
> Unmodifiable - collection can not be modified
>
> Observed - collection is always observed
> Observable - collection can be observed
>
> Naming is dubious, but I guess Observable might be marginally better as the
> observer is optional. Any other views?
>
> Stephen
>
>
> From: "Michael Heuer" <heuermh@acm.org>
> > Could you add methods to ObservableCollection and friends that forward to
> > the ModificationHandler,
> >
> > public void addPreModificationListener(Object l)
> > {
> >   getHandler().addPreModificationListener(l);
> > }
> >
> > public void removePreModificationListener(Object l)
> > public void addPostModificationListener(Object l)
> > public void removePostModificationListener(Object l)
> >
> > etc.
> >
> > Also, before release, does anyone else want to weigh in on Observable vs.
> > Observed?
> >
> >    michael
> >
> >
> > On Wed, 17 Sep 2003, Stephen Colebourne wrote:
> >
> > > We still have too many issues for a freeze this weekend, so I'll extend
> the
> > > deadline by two weeks at this point, although I shan't be surprised if
> it
> > > slips again. The code is improving greatly however, so this is good.
> > >
> > > Still to do:
> > > - ObservedMap
> > > - write observedXxx() methods for CollectionUtils et al
> > > - write release notes
> > > - tidy up the Bugzilla entries
> > > - MultiMap changes??
> > > - Bag interface changes??
> > > - OrderedMap decorator?
> > >
> > > Stephen
> > >
> > > ----- Original Message -----
> > > From: "Stephen Colebourne" <scolebourne@btopenworld.com>
> > > To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
> > > Sent: Wednesday, September 03, 2003 10:34 PM
> > > Subject: [collections] 3.0 release (1)
> > >
> > >
> > > > I am volunteering to arrange the 3.0 release of [collections], which
> is
> > > long
> > > > overdue.
> > > >
> > > > I am currently:
> > > > - finishing the ObservedCollection code
> > > > - writing release notes
> > > > - trying to separate the primitive collections code
> > > > - rename SequencedSet to OrderedSet
> > > > - reviewing the bugzilla entries
> > > >
> > > > Other tasks:
> > > > - write OrderedMap decorator (Hen)
> > > > - review Bag interface where it deviates from Collection
> > > > - see if MultiMap code on bugzilla can be integrated
> > > >
> > > > Henri has volunteered to do the actual final builds and release to
> > > > Minatour/Mirrors, but (unless someone objects) I will manage the
> release.
> > > >
> > > > 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
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > 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