![]() |
|
|
CF ListIterator
Project Home • Blog • Known Issues • Contact Project
Author: Devon Burriss (All RIAForge projects by this author) Description:
METHOD SUMMARY
============ void add(Object o) Inserts the specified element into the list (optional operation). boolean hasNext() Returns true if this list iterator has more elements when traversing the list in the forward direction. boolean hasPrevious() Returns true if this list iterator has more elements when traversing the list in the reverse direction. Object next() Returns the next element in the list. int nextIndex() Returns the index of the element that would be returned by a subsequent call to next. Object previous() Returns the previous element in the list. int previousIndex() Returns the index of the element that would be returned by a subsequent call to previous. void remove() Removes from the list the last element that was returned by next or previous (optional operation). void set(Object o) Replaces the last element returned by next or previous with the specified element (optional operation). ============ Element(0) Element(1) Element(2) ... Element(n) ^ ^ ^ ^ ^ Index: 0 1 2 3 n+1 ============ Added a few extras: Object first() Returns the first element of the list Object last() Returns the last element of the list Any getCollection() Returns the collection
Recent Blog Entries:
CFEclipse Tip for Snippets
CFEclipse on Eclipse 3.6 Helios Coldfusion Memory Logging Coldfusion Implementation of Java ListIterator New Server Instance fails on MySQL Workbench for OS X
Requirements:
Should work on:
Coldfusion 7,8,9 Railo 2,3 (only tested on Railo 3.1) Issue Tracker:
To enter issues for this (or any other) project, you must be logged in. Subversion Access: You may access this project's Subversion repository with your client here: http://svn.riaforge.org/listiterator. To view files and changelists associated with this repository, go here: http://listiterator.riaforge.org/index.cfm?event=page.svnbrowse. Anonymous users have read access to the repository while the administrator has write access. This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/ |
||||||||||||||||||||||||||||||||||||||||
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.