• 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: FYI: Possible buggy EOGenerator code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: Possible buggy EOGenerator code?


  • Subject: Re: FYI: Possible buggy EOGenerator code?
  • From: Christian Pekeler <email@hidden>
  • Date: Thu, 30 Dec 2004 15:20:38 -0700

Or use a reverse enumeration. Even though the documentation (http://tinyurl.com/5ekoz) for reverseObjectEnumerator() warns of modifying the collection, it has always worked fine in my experience.

Christian


Never alter a collection that you are enumerating.


Enumeration objects = regions().objectEnumerator(); while ( objects.hasMoreElements() ) deleteRegionsRelationship((CTRegion)objects.nextElement());

_______________________________________________ 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: 
 >Re: FYI: Possible buggy EOGenerator code? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: FYI: Possible buggy EOGenerator code?
  • Next by Date: Re: FYI: Possible buggy EOGenerator code?
  • Previous by thread: Re: FYI: Possible buggy EOGenerator code?
  • Next by thread: Re: FYI: Possible buggy EOGenerator code?
  • Index(es):
    • Date
    • Thread