Omnibase and subclasses of OrderedCollection
Derek Brans
brans at nerdonawire.com
Tue Jun 10 19:51:01 UTC 2003
>(also see some remarks on my (erroneous) explanation of
> OmniBase serialization on the OmniBase Swiki by David).
link?
>
> > As an aside, wouldn't any subclass of OrderedCollection get marshalled
and
> > unmarshalled as an OrderedCollection, instead of the subclass? If so,
isn't
> > that bad?
> >
> No, I don't think it will. But then, I have always resisted the
> temptation to subclass inside the Collection hierarchy ;-). Try it, I'd
> say...
>
Yes, any subclass is serialized and returned as an OrderedCollection. I am
trying to create an OrderedSet based on OrderedCollection. I'll rethink
that and maybe use Set instead.
Thanks for your response.
Derek
More information about the Squeak-dev
mailing list
|