Iterator vs. Cursor — What's the Difference?
Difference Between Iterator and Cursor
ADVERTISEMENT
Compare with Definitions
Iterator
In computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a container's interface.
Cursor
A movable indicator on a display, marking a position where typed characters will appear or where an option can be selected.
Iterator
One who or that which iterates.
Cursor
A part of any of several scientific or measuring instruments that moves back and forth to indicate a position.
Iterator
(programming) A method capable of performing the same action on every item in a collection.
ADVERTISEMENT
Cursor
(graphical user interface) A moving icon or other representation of the position of the pointing device.
Cursor
(graphical user interface) An indicator, often a blinking line or bar, indicating where the next insertion or other edit will take place.
Cursor
(databases) A reference to a row of data in a table, which moves from row to row as data is retrieved by way of it.
Cursor
(programming) A design pattern in object oriented methodology in which a collection is iterated uniformly.
Cursor
To navigate by means of the cursor keys.
Cursor
Any part of a mathematical instrument that moves or slides backward and forward upon another part.
Cursor
(computer science) indicator consisting of a movable spot of light (an icon) on a visual display; moving the cursor allows the user to point to commands or screen positions
Share Your Discovery
Previous Comparison
Bradycardia vs. HypotensionNext Comparison
Minimal vs. Minimalist