• 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: NSArray.subList() implementation broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray.subList() implementation broken?


  • Subject: Re: NSArray.subList() implementation broken?
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Mon, 12 Mar 2007 23:06:25 +0100

Hi Q,

Confirmed, yet another bug in the NS attempt to implement java.util interfaces. Pity. As for your problem, well, I don't know about others, but I gave up using java.util.* methods with foundation classes. There were some other problems as well (Iterator implementation IIRC). Will file a bug report.

Cheers,
F


On 12 Mar 2007, at 16:08, Q wrote:

The NSArray behaviour is "toIndex inclusive", which is wrong.

Can someone else confirm this is the case? I would otherwise just use subArrayWithRange, but the code I am working with needs to use the List collection interface.


_______________________________________________
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: 
 >NSArray.subList() implementation broken? (From: Q <email@hidden>)

  • Prev by Date: How to use boolean values in Frontbase with Webobjects
  • Next by Date: Re: Generic conditional WOHyperlink
  • Previous by thread: NSArray.subList() implementation broken?
  • Next by thread: Re: NSArray.subList() implementation broken?
  • Index(es):
    • Date
    • Thread