Class TReadOnlyCustomSet
Unit
hamt.internals
Declaration
type generic TReadOnlyCustomSet<TItem,TInfo> = class(TObject)
Description
Generic low-level read-only set
Data in this set can be read, but there are no methods to modify it.
Hierarchy
- TObject
- TReadOnlyCustomSet
Overview
Internal Types
Methods
Properties
|
property count: SizeUInt read fcount; |
Description
Internal Types
|
THAMTNode = specialize THAMTNode<TItem, TInfo>; |
|
Methods
|
function isEmpty: boolean; inline; |
Returns if the set is empty
|
|
function getEnumerator: THAMTNode.THAMTEnumerator; |
Enumerates all items in an unspecified order Example:
var p: TReadOnlyCustomSet.PItem;
for p in customSet do
..
The pointer let's you modify the item, but you must not modify it.
|
|
destructor Destroy; override; |
|
Properties
|
property count: SizeUInt read fcount; |
Number of items in the set
|
Generated by PasDoc 0.14.0.
|