The Artima Developer Community
Sponsored Link

Java Buzz Forum
To Iterate is Human - Iterator versus the Enumeration Method

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Max Zone

Posts: 9170
Nickname: dzone
Registered: Jun, 2006

dzone.com is a link-sharing community where member participation determines what gets published
To Iterate is Human - Iterator versus the Enumeration Method Posted: Sep 6, 2006 11:10 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Max Zone.
Original Post: To Iterate is Human - Iterator versus the Enumeration Method
Feed Title: dzone.com: java
Feed URL: http://feeds.dzone.com/dzone/java
Feed Description: dzone.com: fresh java links for developers
Latest Java Buzz Posts
Latest Java Buzz Posts by Max Zone
Latest Posts From dzone.com: java

Advertisement
In his "Up with cohesion, down with coupling" article, Kevlin Henney said that there were three general designs that keep the collection's internal representation hidden from the caller. A reader pointed out that there was "A fourth option, which is in the general case superior to all three of your options, is the internal iterator. It delegates management of the iteration to the collection, rather than adding repetitive boilerplate to your functional code." This article discusses this Enumeration Method pattern...

Read: To Iterate is Human - Iterator versus the Enumeration Method

Topic: Java Genetic Algorithms and Genetic Programming Previous Topic   Next Topic Topic: hmm javahl stil not loading

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use