Class TCommonEnumerator
Unit
bbutilsbeta
Declaration
type generic TCommonEnumerator<T> = class(TObject)
Description
A generic enumerator that works for any fixed-length collection.
Drawback: It is always slower than an enumerator custom written for a class. It should use SizeInt, but it cannot use sizeint, when the collection (e.g. TStringList) does not use SizeInt
Hierarchy
- TObject
- TCommonEnumerator
Overview
Nested Types
Methods
Properties
|
property Current: T read GetCurrent; |
Description
Nested Types
|
TGetCallback = function (i: integer): T of object; |
|
Methods
|
function MoveNext: Boolean; |
|
Properties
|
property Current: T read GetCurrent; |
|
Generated by PasDoc 0.16.0.