[Overview][Constants][Types][Classes][Index] Reference for unit 'fgl' (#rtl)

TFPSMap.Duplicates

What to do with duplicate key values

Declaration

Source position: fgl.pp line 269

public property TFPSMap.Duplicates : TDuplicates
  read FDuplicates
  write FDuplicates;

Description

Duplicates can be set to determine what to do with duplicate key values in the map:

dupIgnore
Ignore the new item, do not add it to the list.
dupAccept
Accept duplicates, adding them to the list.
dupError
Raise an error when an attempt is made to add a duplicate.

The value is ignored if Sorted is False.

See also

TFPSMap.Sorted

  

Is the map permanently sorted on key ?

types.TDuplicates

  

Enumeration type, indicating what to do with duplicates in a list.


Documentation generated on: Sep 28 2017