Represents type TFreeListIterator.
Namespace: InterfaceCollections
TInterfacedObject
InterfaceCollections.TFreeListIterator
|
|
Name
|
Description
|
|
Count
|
Returns the number of items left in the enumeration.
|
|
Index
|
Represents property Index.
|
|
List
|
Represents property List.
|
Top
|
|
Name
|
Description
|
|
CurrentElement
|
Returns the current item in the enumeration, your "place" in the enumeration.
When the iterator is first supplied or when it is Reset, there is no current element (calling this method in such a case should raise an exception). Only after the first call to the NextElement method will this method return a value.
Unlike the NextElement method which returns a new value every time you call it, this method always returns the same value no matter how many times you call it (until NextElement is called, of course).
|
|
CurrentElementO
|
Represents method CurrentElementO.
|
|
GetCount
|
Returns the number of items left in the enumeration.
Accessor method for Count property.
Note
|
Required by VCL.Net
|
|
|
HasMoreElements
|
Returns True if there are more elements to retrieve from the enumeration. While this method returns true, the CommonInterfaces.IIterator.NextElement method should not raise an exception.
|
|
NextElement
|
Returns the next item in the enumeration. If there are no more items, the method should raise an exception.
To check if there are more items, use the CommonInterfaces.IIterator.HasMoreElements method. The NextElement method advances its place in the enumeration and then returns that item. Every call to NextElement returns a new item (until the end of the enumeration). If you wish to access the current item multiple times in a loop, use the CommonInterfaces.IIterator.CurrentElement method.
|
|
NextElementO
|
Represents method NextElementO.
|
|
Reset
|
Resets the iterator to the beginning of the enumeration.
|
Top
|