• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Curly Generics Question - Update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Curly Generics Question - Update


  • Subject: Re: Curly Generics Question - Update
  • From: Mike Schrag <email@hidden>
  • Date: Sat, 16 May 2009 08:40:05 -0400

you should clone it to a concrete mutable type if you wish to modify it.
have fun with this btw ... the cherry on top is that you can't even reliably CLONE these stupid things, because 1) cloning in java is retarded and 2) even if you can clone, you might just be cloning an immutable map (if they passed in NSDict, cloning doesn't get you far). I think you literally have to just copy it into a new NSMutableDict or a HashMap, which, of course, throws away Anjo's dream of passing in a TreeMap.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Curly Generics Question (From: Andrew Lindesay <email@hidden>)
 >Re: Curly Generics Question - Update (From: Andrew Lindesay <email@hidden>)
 >Re: Curly Generics Question - Update (From: Jim Kinsey <email@hidden>)
 >Re: Curly Generics Question - Update (From: Mike Schrag <email@hidden>)
 >Re: Curly Generics Question - Update (From: Lachlan Deck <email@hidden>)
 >Re: Curly Generics Question - Update (From: Mike Schrag <email@hidden>)
 >Re: Curly Generics Question - Update (From: Henrique Prange <email@hidden>)
 >Re: Curly Generics Question - Update (From: Mike Schrag <email@hidden>)
 >Re: Curly Generics Question - Update (From: Q <email@hidden>)

  • Prev by Date: Re: Constraint error when I don't think I should have one.
  • Next by Date: [OT] wikibooks sysop?
  • Previous by thread: Re: Curly Generics Question - Update
  • Next by thread: Re: Curly Generics Question - Update
  • Index(es):
    • Date
    • Thread