Niclas Hedhman wrote:
On Wed, Mar 25, 2009 at 11:56 AM, Rickard Öberg <[email protected]> wrote:
Niclas Hedhman wrote:
On Wed, Mar 25, 2009 at 11:32 AM, Michael Hunger <[email protected]> wrote:
I just had this conversation with Rickard about the above which bothered
me
for quite a while now:
It is really, really hard to follow Instant Messaging as a
third-party, but if I understand it correctly, there will be methods
to get hold of a Collection instead of being a Collection.

Sounds like a big step forward; Composition instead of Inheritance. Me
Like!

And the ManyAssoc is not implementing Iterable either?
That's open, but I suppose there's no need for it to be iterable if we have
ManyAssociation.toList()!

ManyAssociation.toList() ?? Doesn't ManyAssoc need to have
toCollection() and each of the SetAssoc and ListAssoc have the toSet()
and toList()??

One idea is to skip ListAssoc and SetAssoc entirely, and only have ManyAssociation with toCollection, toSet and toList. Maybe even toIterable.

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to