• 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
generics and KVC.NullValue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

generics and KVC.NullValue


  • Subject: generics and KVC.NullValue
  • From: Lachlan Deck <email@hidden>
  • Date: Mon, 27 Oct 2008 14:17:58 +1100

Hi there,

just refactoring some code for Wonder 5 etc - and noticed that in one old thing I had:
SHORT_NAME.is( NullValue )...


I can obviously re-write this as isNull() but it dawned on me ... eof/ kvc put KVC.NullValue into arrays at times which ain't too compatible which casting/generics.

Not sure there's much that can be done about this but the lack of errors with casting using generics don't necessarily give us the runtime confidence we think it does.

with regards,
--

Lachlan Deck



_______________________________________________
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: generics and KVC.NullValue
      • From: Florijan Stamenkovic <email@hidden>
  • Prev by Date: Re: Setting setRefreshesRefetchedObjects using EOGenerator classes
  • Next by Date: How do I get a complete url to a component
  • Previous by thread: Re: Setting setRefreshesRefetchedObjects using EOGenerator classes
  • Next by thread: Re: generics and KVC.NullValue
  • Index(es):
    • Date
    • Thread