groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <>
Subject Re: peristant and immutable collections
Date Thu, 15 Oct 2015 07:07:51 GMT
On 14.10.2015 17:54, Winnebeck, Jason wrote:
> What I don’t get about pcollections is that it promises to implement
> collections interfaces like Java.util.List, but then says that “add”
> doesn’t work, because you have to use plus.  So, I’m not sure how it can
> really be a List when none of the mutators could work. I suppose you can
> implement size, iterator, contains, etc. same as Java’s unmodifiableList.

yes, just as you say.

bye blackdrag

View raw message