Search:

Type: Posts; User: pbrockway2

Search: Search took 0.19 seconds.

  1. Re: What is the rationale behind `immutableCollection` family of methods, and the advantages of the particular pattern?

    Yes. I think that's what I was trying to get at with a Set supertype and ModifiableSet subtype. Just with a change of names: I wouldn't call the supertype "unmodifiable" if it allows subtypes to...
  2. Re: What is the rationale behind `immutableCollection` family of methods, and the advantages of the particular pattern?

    I'm not sure I follow that Kevin.

    Suppose I have a MyCollection type and an unrelated UnmodifiableMyCollection type with the same behaviour (except for anything that would modify the collection). ...
Results 1 to 2 of 2