Object THashMapCursor

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type THashMapCursor = object(TObject)

Description

Hierarchy

  • TObject
  • THashMapCursor

Overview

Methods

Public function Equals(const Cursor: THashMapCursor) : Boolean; inline;
Public function HasItem: Boolean; inline;
Public constructor Init(HashMap : TAbstractHashMap; BucketNum: Integer; AEntry, APrevious: Pointer);
Public function IsFirst: Boolean; inline;
Public function IsLast: Boolean; inline;
Public function IsNil: Boolean; inline;
Public procedure MoveNext; inline;

Properties

Public property Bucket : Integer read fBucket write fBucket;
Public property HashMap : TAbstractHashMap read fHashMap;
Public property Entry : Pointer read fEntry write fEntry;
Public property Previous : Pointer read fPrevious write fPrevious;

Description

Methods

Public function Equals(const Cursor: THashMapCursor) : Boolean; inline;

Check if the cursors designate the same item.

Public function HasItem: Boolean; inline;

Check if the cursors designate an item.

Public constructor Init(HashMap : TAbstractHashMap; BucketNum: Integer; AEntry, APrevious: Pointer);

Constructor.

Public function IsFirst: Boolean; inline;

Returns true if the cursor designates the first element.

Public function IsLast: Boolean; inline;

Returns true if the cursor designates the last element.

Public function IsNil: Boolean; inline;

Equivalent to not HasItem.

Public procedure MoveNext; inline;

If cursor is nil then do nothing, else if cursor is last then cursor becomes nil cursor, otherwise move cursor to the next item.

Properties

Public property Bucket : Integer read fBucket write fBucket;

Designated bucket.

Public property HashMap : TAbstractHashMap read fHashMap;
 
Public property Entry : Pointer read fEntry write fEntry;

Designated entry.

Public property Previous : Pointer read fPrevious write fPrevious;
 

Generated by PasDoc 0.13.0 on 2014-07-29 16:12:40