Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.153.994 Times

Design Pattern: Iterator (Behavioural) 1.0

  Date Added: July 25, 2013  |  Visits: 222

Design Pattern: Iterator (Behavioural)

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)

Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation [1]. This design pattern is also known as Cursor.Motivation: An example of an aggregate object is an instance of the List ADT. Consequently, an iterator can be used to traverse the elements of a list with a set of high-level abstract operations. These operations may be implemented within the List ADT but as Gamma et al.[1] wonderfully puts it, the key idea in this pattern is to take the responsibility for access and traversal out of the list object and put it into an iterator object - given the iterator describes behaviour whilst the list describes a collection.Implementation: The Iterator abstract class is used purely to specify the requirements of its concrete implementation. This abstraction could be implemented as an external/active or internal/passive iterator -External := the onus is on the client to advance the traversal and request next elements.Internal := the client can supply an operation to the iterator to perform over every element of a collectionRefer to pp.257-271 Gamma et al.[1] for more information on the Iterator (Behavioural) Design Pattern. Written by Bobby NedelkovskiMathWorks AustraliaCopyright 2009-2010, The MathWorks, Inc.Reference:[1] Gamma, E., Helm, R., Johnson, R. and Vlissides, J. Design Patterns : Elements of Reusable Object-Oriented Software. Boston: Addison-Wesley, 1995.

Requirements: No special requirements
Platforms: Matlab
Keyword: Abstraction Advance Behavioural Client Collectionrefer Design Element Elementsinternal External Externalactive Implementation Information Internalpassive Operation Perform Pp257271 Request Supply
Users rating: 0/10

License: Freeware Size: 30.72 KB
DESIGN PATTERN: ITERATOR (BEHAVIOURAL) RELATED
Libraries  -  XML::Mini::Element 1.2.8
XML::Mini::Element is a Perl implementation of the XML::Mini Element API. SYNOPSIS use XML::Mini::Document; my $xmlDoc = XML::Mini::Document->new(); # Fetch the ROOT element for the document # (an instance of XML::Mini::Element) my...
34.82 KB  
Modules  -  Project Issue File Review 6.x-2.2
Provides an abstracted client-server model and plugin API for performing distributed operations such as code review and testing. Currently the project focuses on supporting Drupal development, but due to the extent of the code abstraction it can...
112.64 KB  
Libraries  -  dragList 0.5.1
DragList is a client side Drag and Drop Ordered Lists implementation. dragList library allows you to order a list of items using drag and drop. Upon pressing ENTER the new order is communicated back to the server. This is the code that sits...
26.62 KB  
Development Editors  -  Eclipse SDK x64 4.2 M3
Eclipse SDK is an open source platform-independent software framework for delivering what the project calls or is known as "rich-client applications" (as opposed to "thin clients", this means the clients perform heavy-duty work on the host. So...
174 MB  
Business  -  HIB Insurance Brokers App 1.0
The HIB Insurance Brokers client app has been developed to provide useful information when you need to contact us, lodge a claim, or just have fast access to your insurance portfolio details. As well as general contact and claims...
6.5 MB  
Education  -  Rare Earths 3.0
Discover the 17 Rare Earth Elements with this interactive App. Swipe through each element and tap the additional information boxes along the bottom for more content. Requirements: iOS 4.3 or later. Compatible with iPad.
53.4 MB  
Networking Tools  -  jwhois 3.2.3
jwhois provides an Internet Whois client with support for Whois, Rwhois, and HTTP. jwhois is an Internet Whois client that contains an extensible configuration file, which defines its operation. The client supports queries to foreign hosts,...
430.08 KB  
Networking Tools  -  Crispy 1.1.1
Crispy is a client for remote invocation for different kinds of services via proxies. The intention for this project is a very simple API for call different kinds of services (provider/technology). Crispys aims is to provide a single point of...
10 MB  
Libraries  -  EJOE 0.4.0
EJOE is a lightweight Java client/server component built to send and receive objects through pluggable (de)serialization mechanisms. EJOE porject offers a high-performance, simple, and clean object request broker (whereby ORB is meant in its...
1.7 MB  
Libraries  -  Class::Adapter 1.02
Class::Adapter is a Perl implementation of the "Adapter" Design Pattern. The Class::Adapter class is intended as an abstract base class for creating any sort of class or object that follows the Adapter pattern. What is an Adapter? The term...
24.58 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB  
Development Tools  -  save2word 1.0
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
10 KB