A general interface for iterating over a collection of objects.
Namespace: yWorks.yFiles.AlgorithmsAssembly: yWorks.yFilesNET.Algorithms (in yWorks.yFilesNET.Algorithms.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public interface ICursor |
| Visual Basic |
|---|
Public Interface ICursor |
Remarks
A general interface for iterating over a collection of objects.
It can be regarded as a read-only view of such a collection.
A YCursor acts like a movable pointer on the elements of a collection.
The pointer can be moved forward and backward and the element currently pointed
on can be accessed.
The removal of elements can only be performed on the provider of the cursor,
not on the cursor itself.
(That's why the cursor presents a read-only view.)
Implementations of this interface do not need to support operations marked "optional."