| CoreClasses REALbasic Plugin |
|
IIterator Interface
Objects that Implement this Interface share a common interface of how to iterate through a container.
So if a object Implements this interface then you can always talk to it with the IIterator interface methods.
Note:Interfaces don't actually do anything. A Interface is just a promise of what methods a implementor of a interface will have.
Methods
GetNext | Use this function on containers that Implement the IIterator Interface to get next item from the container. |
HasNext | Use this function on containers that Implement the IIterator Interface to get info if there are more items in the container. |
MoveFirst | Use this function on containers that Implement the IIterator Interface to reset the iterator in the container. |
PeekNext | Use this function on containers that Implement the IIterator Interface to peek at next item from the container without causing iteration. |
[Footnote]
Supported Platforms:
PPC - MacOS 9Carbon - MacOS 9 and MacOS X (PEF)MacOS X PPC - (Mach-O)MacOS X Universal Binary (Mach-O)Win32 - WindowsLinux x86