• 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: Parameterized NSArray in 5.3.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parameterized NSArray in 5.3.3


  • Subject: Re: Parameterized NSArray in 5.3.3
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Wed, 23 Jul 2008 14:32:55 -0400

Nope. String is final. <Object> means, well, any Object. Wildcards are useless in this scenario.

F

try this:

http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf

It's a bit dry but explains the whys and hows of generics and wildcards.

On Jul 23, 2008, at 11:12, Rams wrote:

Okay, now I feel dumb :-)~

Generics wasn't broken! The problem was I was using WOContext's directActionURLForActionNamed with generics and it only accepts a NSDictionary<String, Object> and I was trying to pass it a NSDictionary<String, String> in almost every case. That worked in 5.3.3 since arguments weren't parameterized.... so I though the generics were disabled. Yeah, dumb mistake. Anyway, after watching,

http://www.youtube.com/watch?v=pi_I7oD_uGI

Shouldn't that parameter be NSDictionary<? extends String, ? extends Object> instead, according to PECS? Is there some reason Apple isn't doing that?

rg

On Jul 23, 2008, at 12:15 AM, Guido Neitzer wrote:

On 22.07.2008, at 22:05, Rams wrote:

There doesn't seem to be a way to move just the Wonder frameworks there. Moving all the WebObjects frameworks to the top or the bottom of the list has no effect.

The best is to checkout the source from SVN from the Wonder frameworks you use and use that in Eclipse. You can then move the frameworks.


Check this here:

http://wiki.objectstyle.org/confluence/display/WONDER/Working+with +Wonder+source+in+Eclipse

cug

--
http://www.event-s.net


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


This email sent to email@hidden

_______________________________________________ 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
  • Follow-Ups:
    • Re: Parameterized NSArray in 5.3.3
      • From: Mike Schrag <email@hidden>
References: 
 >Re: Parameterized NSArray in 5.3.3 (From: Rams <email@hidden>)
 >Re: Parameterized NSArray in 5.3.3 (From: Guido Neitzer <email@hidden>)
 >Re: Parameterized NSArray in 5.3.3 (From: Rams <email@hidden>)
 >Re: Parameterized NSArray in 5.3.3 (From: Guido Neitzer <email@hidden>)
 >Re: Parameterized NSArray in 5.3.3 (From: Rams <email@hidden>)

  • Prev by Date: Re: multiple model usage example
  • Next by Date: Re: Parameterized NSArray in 5.3.3
  • Previous by thread: Re: Parameterized NSArray in 5.3.3
  • Next by thread: Re: Parameterized NSArray in 5.3.3
  • Index(es):
    • Date
    • Thread