TDictionary<TKey,TValue>

Overview

Location


 

constructor  protected    (declared in TEnumerable<T>) .NET, Cooper, Island

 

constructor

 

TDictionary<TKey,TValue>()

 

init()

 

TDictionary<TKey,TValue>()

 

Sub New()

constructor init()  virtual    (declared in TDelphiObject) Toffee

 

init(init )

Parameters:

  • :

constructor (Int32)

 

constructor(aCapacity: Int32)

 

TDictionary<TKey,TValue>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

TDictionary<TKey,TValue>(Integer aCapacity)

 

Sub New(aCapacity As Int32)

Parameters:

  • aCapacity:

 

constructor(aCapacity: Int32; aComparer: IEqualityComparer<TKey>)

 

TDictionary<TKey,TValue>(Int32 aCapacity, IEqualityComparer<TKey> aComparer)

 

init(_ aCapacity: Int32, _ aComparer: IEqualityComparer<TKey>)

 

TDictionary<TKey,TValue>(Integer aCapacity, IEqualityComparer<TKey> aComparer)

 

Sub New(aCapacity As Int32, aComparer As IEqualityComparer<TKey>)

Parameters:

  • aCapacity:
  • aComparer:

 

constructor(Collection: TEnumerable<KeyValuePair<TKey, TValue>>)

 

TDictionary<TKey,TValue>(TEnumerable<KeyValuePair<TKey, TValue>> Collection)

 

init(_ Collection: TEnumerable<KeyValuePair<TKey, TValue>>)

 

TDictionary<TKey,TValue>(TEnumerable<KeyValuePair<TKey, TValue>> Collection)

 

Sub New(Collection As TEnumerable<KeyValuePair<TKey, TValue>>)

Parameters:

  • Collection:

Add  virtual

 

method Add(Key: TKey; Value: TValue)

 

void Add(TKey Key, TValue Value)

 

func Add(_ Key: TKey, _ Value: TValue)

 

void Add(TKey Key, TValue Value)

 

Sub Add(Key As TKey, Value As TValue)

Parameters:

  • Key:
  • Value:

AddOrSetValue  virtual

 

method AddOrSetValue(Key: TKey; Value: TValue)

 

void AddOrSetValue(TKey Key, TValue Value)

 

func AddOrSetValue(_ Key: TKey, _ Value: TValue)

 

void AddOrSetValue(TKey Key, TValue Value)

 

Sub AddOrSetValue(Key As TKey, Value As TValue)

Parameters:

  • Key:
  • Value:

AfterConstruction  virtual    (declared in TDelphiObject) .NET, Cooper, Island

 

method AfterConstruction

 

void AfterConstruction()

 

func AfterConstruction()

 

void AfterConstruction()

 

Sub AfterConstruction()

AfterConstruction AfterConstruction()  virtual    (declared in TDelphiObject) Toffee

 

func AfterConstruction(AfterConstruction )

Parameters:

  • :

BeforeDestruction  virtual    (declared in TDelphiObject) .NET, Cooper, Island

 

method BeforeDestruction

 

void BeforeDestruction()

 

func BeforeDestruction()

 

void BeforeDestruction()

 

Sub BeforeDestruction()

BeforeDestruction BeforeDestruction()  virtual    (declared in TDelphiObject) Toffee

 

func BeforeDestruction(BeforeDestruction )

Parameters:

  • :

Clear .NET, Cooper, Island

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Clear Clear()  virtual Toffee

 

func Clear(Clear )

Parameters:

  • :

close  final    (declared in TDelphiObject) Cooper

 

method close

 

void close()

 

func close()

 

void close()

 

Sub close()

ContainsKey  virtual

 

method ContainsKey(Key: TKey): Boolean

 

Boolean ContainsKey(TKey Key)

 

func ContainsKey(_ Key: TKey) -> Boolean

 

Boolean ContainsKey(TKey Key)

 

Function ContainsKey(Key As TKey) As Boolean

Parameters:

  • Key:

ContainsValue  virtual

 

method ContainsValue(Value: TValue): Boolean

 

Boolean ContainsValue(TValue Value)

 

func ContainsValue(_ Value: TValue) -> Boolean

 

Boolean ContainsValue(TValue Value)

 

Function ContainsValue(Value As TValue) As Boolean

Parameters:

  • Value:

Count  virtual

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

 

ReadOnly Property Count() As Int32

countByEnumeratingWithState    (declared in TEnumerable<T>) Toffee

 

func countByEnumeratingWithState(_ aState: UnsafeMutablePointer<NSFastEnumerationState>, objects aStackbuf: UnsafeMutablePointer<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>, count len: NSUInteger) -> NSUInteger

Parameters:

  • aState:
  • aStackbuf:
  • len:

Create (Int32): TDictionary<TKey, TValue>  virtual

 

class method Create(aCapacity: Int32): TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(Int32 aCapacity)

 

static func Create(_ aCapacity: Int32) -> TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(Integer aCapacity)

 

Shared Function Create(aCapacity As Int32) As TDictionary<TKey, TValue>

Parameters:

  • aCapacity:

 

class method Create(aCapacity: Int32; aComparer: IEqualityComparer<TKey>): TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(Int32 aCapacity, IEqualityComparer<TKey> aComparer)

 

static func Create(_ aCapacity: Int32, _ aComparer: IEqualityComparer<TKey>) -> TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(Integer aCapacity, IEqualityComparer<TKey> aComparer)

 

Shared Function Create(aCapacity As Int32, aComparer As IEqualityComparer<TKey>) As TDictionary<TKey, TValue>

Parameters:

  • aCapacity:
  • aComparer:

 

class method Create(aComparer: IEqualityComparer<TKey>): TDictionary<TKey, TValue>

 

static func Create(_ aComparer: IEqualityComparer<TKey>) -> TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(IEqualityComparer<TKey> aComparer)

 

Shared Function Create(aComparer As IEqualityComparer<TKey>) As TDictionary<TKey, TValue>

Parameters:

  • aComparer:

 

class method Create(Collection: TEnumerable<KeyValuePair<TKey, TValue>>): TDictionary<TKey, TValue>

 

static func Create(_ Collection: TEnumerable<KeyValuePair<TKey, TValue>>) -> TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(TEnumerable<KeyValuePair<TKey, TValue>> Collection)

 

Shared Function Create(Collection As TEnumerable<KeyValuePair<TKey, TValue>>) As TDictionary<TKey, TValue>

Parameters:

  • Collection:

 

static func Create(_ Collection: TEnumerable<KeyValuePair<TKey, TValue>>, _ aComparer: IEqualityComparer<TKey>) -> TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(TEnumerable<KeyValuePair<TKey, TValue>> Collection, IEqualityComparer<TKey> aComparer)

 

Shared Function Create(Collection As TEnumerable<KeyValuePair<TKey, TValue>>, aComparer As IEqualityComparer<TKey>) As TDictionary<TKey, TValue>

Parameters:

  • Collection:
  • aComparer:

Destroy  virtual    (declared in TDelphiObject) .NET, Cooper, Island

 

method Destroy

 

void Destroy()

 

func Destroy()

 

void Destroy()

 

Sub Destroy()

Destroy Destroy()  virtual    (declared in TDelphiObject) Toffee

 

func Destroy(Destroy )

Parameters:

  • :

Dispose    (declared in TDelphiObject) Island

 

method Dispose

 

void Dispose()

 

func Dispose()

 

Sub Dispose()

DoGetEnumerator  protected    (declared in TEnumerable<T>) .NET

 

method DoGetEnumerator: TEnumerator<T>

 

TEnumerator<T> DoGetEnumerator()

 

func DoGetEnumerator() -> TEnumerator<T>

 

TEnumerator<T> DoGetEnumerator()

 

Function DoGetEnumerator() As TEnumerator<T>

ExtractPair  virtual

 

method ExtractPair(Key: TKey): KeyValuePair<TKey, TValue>

 

KeyValuePair<TKey, TValue> ExtractPair(TKey Key)

 

func ExtractPair(_ Key: TKey) -> KeyValuePair<TKey, TValue>

 

KeyValuePair<TKey, TValue> ExtractPair(TKey Key)

 

Function ExtractPair(Key As TKey) As KeyValuePair<TKey, TValue>

Parameters:

  • Key:

Finalize  protected    (declared in TDelphiObject) .NET

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Free    (declared in TDelphiObject) .NET, Cooper, Island

 

method Free

 

void Free()

 

func Free()

 

void Free()

 

Sub Free()

Free Free()  virtual    (declared in TDelphiObject) Toffee

 

func Free(Free )

Parameters:

  • :

GetEnumerator  override virtual Island

 

method GetEnumerator: IEnumerator<KeyValuePair<TKey, TValue>>

 

func GetEnumerator() -> IEnumerator<KeyValuePair<TKey, TValue>>

 

Function GetEnumerator() As IEnumerator<KeyValuePair<TKey, TValue>>

GetEnumerator  virtual abstract    (declared in TEnumerable<T>) .NET, Island

 

// .NET
method GetEnumerator: IEnumerator<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
method GetEnumerator: IEnumerator<T>

 

// .NET
IEnumerator<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)> GetEnumerator()
// Island
IEnumerator<T> GetEnumerator()

 

// .NET
func GetEnumerator() -> IEnumerator<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
func GetEnumerator() -> IEnumerator<T>

 

// .NET
Function GetEnumerator() As IEnumerator<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
Function GetEnumerator() As IEnumerator<T>

GetMetaClass  override virtual .NET, Cooper, Island

 

method GetMetaClass: class of TDelphiObject

 

class of TDelphiObject GetMetaClass()

 

func GetMetaClass() -> class of TDelphiObject

 

class of TDelphiObject GetMetaClass()

 

Function GetMetaClass() As class of TDelphiObject

GetNonGenericEnumerator  protected    (declared in TEnumerable<T>) .NET, Island

 

// .NET
method GetNonGenericEnumerator: IEnumerator
// Island
method GetNonGenericEnumerator: IEnumerator

 

// .NET
IEnumerator GetNonGenericEnumerator()
// Island
IEnumerator GetNonGenericEnumerator()

 

// .NET
func GetNonGenericEnumerator() -> IEnumerator
// Island
func GetNonGenericEnumerator() -> IEnumerator

 

// .NET
Function GetNonGenericEnumerator() As IEnumerator
// Island
Function GetNonGenericEnumerator() As IEnumerator

GetSequence  protected override virtual .NET, Cooper, Island

 

method GetSequence: IEnumerable<KeyValuePair<TKey, TValue>>

 

func GetSequence() -> IEnumerable<KeyValuePair<TKey, TValue>>

 

Iterable<KeyValuePair<TKey, TValue>> GetSequence()

 

Function GetSequence() As IEnumerable<KeyValuePair<TKey, TValue>>

GetSequence  protected virtual abstract    (declared in TEnumerable<T>) .NET, Cooper, Island

 

// .NET
method GetSequence: IEnumerable<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
method GetSequence: IEnumerable<T>

 

// .NET
IEnumerable<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)> GetSequence()
// Island
IEnumerable<T> GetSequence()

 

// .NET
func GetSequence() -> IEnumerable<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
func GetSequence() -> IEnumerable<T>

 

Iterable<KeyValuePair<TKey, TValue>> GetSequence()

 

// .NET
Function GetSequence() As IEnumerable<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
Function GetSequence() As IEnumerable<T>

GetSequence GetSequence(): INSFastEnumeration<KeyValuePair<TKey, TValue>>  protected override Toffee

 

func GetSequence(GetSequence ) -> INSFastEnumeration<KeyValuePair<TKey, TValue>>

Parameters:

  • :

Items  virtual

 

property Items[Key: TKey]: TValue read write;

 

TValue Items[TKey Key] { get; set; }

 

subscript Items(_ Key: TKey) -> TValue { get{} set{} }

 

TValue Items[TKey Key] { __get; __set; }

 

Property Items(Key As TKey) As TValue

iterator  final    (declared in TEnumerable<T>) Cooper

 

method iterator: Iterator<KeyValuePair<TKey, TValue>>

 

Iterator<KeyValuePair<TKey, TValue>> iterator()

 

func iterator() -> Iterator<KeyValuePair<TKey, TValue>>

 

Iterator<KeyValuePair<TKey, TValue>> iterator()

 

Function iterator() As Iterator<KeyValuePair<TKey, TValue>>

KeyNotify  protected virtual

 

method KeyNotify(Key: TKey; Action: TCollectionNotification)

 

void KeyNotify(TKey Key, TCollectionNotification Action)

 

func KeyNotify(_ Key: TKey, _ Action: TCollectionNotification)

 

void KeyNotify(TKey Key, TCollectionNotification Action)

 

Sub KeyNotify(Key As TKey, Action As TCollectionNotification)

Parameters:

  • Key:
  • Action:

Keys  virtual

 

property Keys: IEnumerable<TKey> read;

 

IEnumerable<TKey> Keys { get; }

 

// .NET, Island
var Keys: IEnumerable<TKey> { get{} }
// Toffee
var Keys: INSFastEnumeration<TKey> { get{} }

 

Iterable<TKey> Keys { __get; }

 

ReadOnly Property Keys() As IEnumerable<TKey>

OnKeyNotify  virtual

 

property OnKeyNotify: RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TKey> read write;

 

RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TKey> OnKeyNotify { get; set; }

 

var OnKeyNotify: RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TKey> { get{} set{} }

 

RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TKey> OnKeyNotify { __get; __set; }

 

Property OnKeyNotify() As RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TKey>

OnValueNotify  virtual

 

property OnValueNotify: RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TValue> read write;

 

RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TValue> OnValueNotify { get; set; }

 

var OnValueNotify: RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TValue> { get{} set{} }

 

RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TValue> OnValueNotify { __get; __set; }

 

Property OnValueNotify() As RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TValue>

Remove  virtual

 

method Remove(Key: TKey)

 

void Remove(TKey Key)

 

func Remove(_ Key: TKey)

 

void Remove(TKey Key)

 

Sub Remove(Key As TKey)

Parameters:

  • Key:

ToArray  override virtual .NET, Cooper, Island

 

method ToArray: array of KeyValuePair<TKey, TValue>

 

func ToArray() -> KeyValuePair<TKey, TValue>...

 

KeyValuePair<TKey, TValue>[] ToArray()

 

Function ToArray() As KeyValuePair<TKey, TValue>()

ToArray  virtual    (declared in TEnumerable<T>) .NET, Cooper, Island

 

method ToArray: array of [KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)

 

[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)[] ToArray()

 

func ToArray() -> [KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)...

 

KeyValuePair<TKey, TValue>[] ToArray()

 

Function ToArray() As [KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)()

ToArray ToArray(): array of KeyValuePair<TKey, TValue>  override Toffee

 

func ToArray(ToArray ) -> KeyValuePair<TKey, TValue>...

Parameters:

  • :

TrimExcess .NET, Cooper, Island

 

method TrimExcess

 

void TrimExcess()

 

func TrimExcess()

 

void TrimExcess()

 

Sub TrimExcess()

TrimExcess TrimExcess()  virtual Toffee

 

func TrimExcess(TrimExcess )

Parameters:

  • :

TryGetValue  virtual

 

method TryGetValue(Key: TKey; out Value: TValue): Boolean

 

Boolean TryGetValue(TKey Key, out TValue Value)

 

func TryGetValue(_ Key: TKey, _ Value: TValue) -> Boolean

 

Boolean TryGetValue(TKey Key, __out TValue Value)

 

Function TryGetValue(Key As TKey, <OutAttribute> ByRef Value As TValue) As Boolean

Parameters:

  • Key:
  • Value:

ValueNotify  protected virtual

 

method ValueNotify(Value: TValue; Action: TCollectionNotification)

 

void ValueNotify(TValue Value, TCollectionNotification Action)

 

func ValueNotify(_ Value: TValue, _ Action: TCollectionNotification)

 

void ValueNotify(TValue Value, TCollectionNotification Action)

 

Sub ValueNotify(Value As TValue, Action As TCollectionNotification)

Parameters:

  • Value:
  • Action:

Values  virtual

 

property Values: IEnumerable<TValue> read;

 

IEnumerable<TValue> Values { get; }

 

// .NET, Island
var Values: IEnumerable<TValue> { get{} }
// Toffee
var Values: INSFastEnumeration<TValue> { get{} }

 

Iterable<TValue> Values { __get; }

 

ReadOnly Property Values() As IEnumerable<TValue>

 

Count  virtual

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

 

ReadOnly Property Count() As Int32

Items  virtual

 

property Items[Key: TKey]: TValue read write;

 

TValue Items[TKey Key] { get; set; }

 

subscript Items(_ Key: TKey) -> TValue { get{} set{} }

 

TValue Items[TKey Key] { __get; __set; }

 

Property Items(Key As TKey) As TValue

Keys  virtual

 

property Keys: IEnumerable<TKey> read;

 

IEnumerable<TKey> Keys { get; }

 

// .NET, Island
var Keys: IEnumerable<TKey> { get{} }
// Toffee
var Keys: INSFastEnumeration<TKey> { get{} }

 

Iterable<TKey> Keys { __get; }

 

ReadOnly Property Keys() As IEnumerable<TKey>

OnKeyNotify  virtual

 

property OnKeyNotify: RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TKey> read write;

 

RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TKey> OnKeyNotify { get; set; }

 

var OnKeyNotify: RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TKey> { get{} set{} }

 

RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TKey> OnKeyNotify { __get; __set; }

 

Property OnKeyNotify() As RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TKey>

OnValueNotify  virtual

 

property OnValueNotify: RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TValue> read write;

 

RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TValue> OnValueNotify { get; set; }

 

var OnValueNotify: RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TValue> { get{} set{} }

 

RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TValue> OnValueNotify { __get; __set; }

 

Property OnValueNotify() As RemObjects.Elements.RTL.Delphi.TCollectionNotifyEvent<TValue>

Values  virtual

 

property Values: IEnumerable<TValue> read;

 

IEnumerable<TValue> Values { get; }

 

// .NET, Island
var Values: IEnumerable<TValue> { get{} }
// Toffee
var Values: INSFastEnumeration<TValue> { get{} }

 

Iterable<TValue> Values { __get; }

 

ReadOnly Property Values() As IEnumerable<TValue>

 

Create (Int32): TDictionary<TKey, TValue>  virtual

 

class method Create(aCapacity: Int32): TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(Int32 aCapacity)

 

static func Create(_ aCapacity: Int32) -> TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(Integer aCapacity)

 

Shared Function Create(aCapacity As Int32) As TDictionary<TKey, TValue>

Parameters:

  • aCapacity:

 

class method Create(aCapacity: Int32; aComparer: IEqualityComparer<TKey>): TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(Int32 aCapacity, IEqualityComparer<TKey> aComparer)

 

static func Create(_ aCapacity: Int32, _ aComparer: IEqualityComparer<TKey>) -> TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(Integer aCapacity, IEqualityComparer<TKey> aComparer)

 

Shared Function Create(aCapacity As Int32, aComparer As IEqualityComparer<TKey>) As TDictionary<TKey, TValue>

Parameters:

  • aCapacity:
  • aComparer:

 

class method Create(aComparer: IEqualityComparer<TKey>): TDictionary<TKey, TValue>

 

static func Create(_ aComparer: IEqualityComparer<TKey>) -> TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(IEqualityComparer<TKey> aComparer)

 

Shared Function Create(aComparer As IEqualityComparer<TKey>) As TDictionary<TKey, TValue>

Parameters:

  • aComparer:

 

class method Create(Collection: TEnumerable<KeyValuePair<TKey, TValue>>): TDictionary<TKey, TValue>

 

static func Create(_ Collection: TEnumerable<KeyValuePair<TKey, TValue>>) -> TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(TEnumerable<KeyValuePair<TKey, TValue>> Collection)

 

Shared Function Create(Collection As TEnumerable<KeyValuePair<TKey, TValue>>) As TDictionary<TKey, TValue>

Parameters:

  • Collection:

 

static func Create(_ Collection: TEnumerable<KeyValuePair<TKey, TValue>>, _ aComparer: IEqualityComparer<TKey>) -> TDictionary<TKey, TValue>

 

static TDictionary<TKey, TValue> Create(TEnumerable<KeyValuePair<TKey, TValue>> Collection, IEqualityComparer<TKey> aComparer)

 

Shared Function Create(Collection As TEnumerable<KeyValuePair<TKey, TValue>>, aComparer As IEqualityComparer<TKey>) As TDictionary<TKey, TValue>

Parameters:

  • Collection:
  • aComparer:

 

constructor  protected    (declared in TEnumerable<T>) .NET, Cooper, Island

 

constructor

 

TDictionary<TKey,TValue>()

 

init()

 

TDictionary<TKey,TValue>()

 

Sub New()

constructor init()  virtual    (declared in TDelphiObject) Toffee

 

init(init )

Parameters:

  • :

constructor (Int32)

 

constructor(aCapacity: Int32)

 

TDictionary<TKey,TValue>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

TDictionary<TKey,TValue>(Integer aCapacity)

 

Sub New(aCapacity As Int32)

Parameters:

  • aCapacity:

 

constructor(aCapacity: Int32; aComparer: IEqualityComparer<TKey>)

 

TDictionary<TKey,TValue>(Int32 aCapacity, IEqualityComparer<TKey> aComparer)

 

init(_ aCapacity: Int32, _ aComparer: IEqualityComparer<TKey>)

 

TDictionary<TKey,TValue>(Integer aCapacity, IEqualityComparer<TKey> aComparer)

 

Sub New(aCapacity As Int32, aComparer As IEqualityComparer<TKey>)

Parameters:

  • aCapacity:
  • aComparer:

 

constructor(Collection: TEnumerable<KeyValuePair<TKey, TValue>>)

 

TDictionary<TKey,TValue>(TEnumerable<KeyValuePair<TKey, TValue>> Collection)

 

init(_ Collection: TEnumerable<KeyValuePair<TKey, TValue>>)

 

TDictionary<TKey,TValue>(TEnumerable<KeyValuePair<TKey, TValue>> Collection)

 

Sub New(Collection As TEnumerable<KeyValuePair<TKey, TValue>>)

Parameters:

  • Collection:

Add  virtual

 

method Add(Key: TKey; Value: TValue)

 

void Add(TKey Key, TValue Value)

 

func Add(_ Key: TKey, _ Value: TValue)

 

void Add(TKey Key, TValue Value)

 

Sub Add(Key As TKey, Value As TValue)

Parameters:

  • Key:
  • Value:

AddOrSetValue  virtual

 

method AddOrSetValue(Key: TKey; Value: TValue)

 

void AddOrSetValue(TKey Key, TValue Value)

 

func AddOrSetValue(_ Key: TKey, _ Value: TValue)

 

void AddOrSetValue(TKey Key, TValue Value)

 

Sub AddOrSetValue(Key As TKey, Value As TValue)

Parameters:

  • Key:
  • Value:

AfterConstruction  virtual    (declared in TDelphiObject) .NET, Cooper, Island

 

method AfterConstruction

 

void AfterConstruction()

 

func AfterConstruction()

 

void AfterConstruction()

 

Sub AfterConstruction()

AfterConstruction AfterConstruction()  virtual    (declared in TDelphiObject) Toffee

 

func AfterConstruction(AfterConstruction )

Parameters:

  • :

BeforeDestruction  virtual    (declared in TDelphiObject) .NET, Cooper, Island

 

method BeforeDestruction

 

void BeforeDestruction()

 

func BeforeDestruction()

 

void BeforeDestruction()

 

Sub BeforeDestruction()

BeforeDestruction BeforeDestruction()  virtual    (declared in TDelphiObject) Toffee

 

func BeforeDestruction(BeforeDestruction )

Parameters:

  • :

Clear .NET, Cooper, Island

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Clear Clear()  virtual Toffee

 

func Clear(Clear )

Parameters:

  • :

close  final    (declared in TDelphiObject) Cooper

 

method close

 

void close()

 

func close()

 

void close()

 

Sub close()

ContainsKey  virtual

 

method ContainsKey(Key: TKey): Boolean

 

Boolean ContainsKey(TKey Key)

 

func ContainsKey(_ Key: TKey) -> Boolean

 

Boolean ContainsKey(TKey Key)

 

Function ContainsKey(Key As TKey) As Boolean

Parameters:

  • Key:

ContainsValue  virtual

 

method ContainsValue(Value: TValue): Boolean

 

Boolean ContainsValue(TValue Value)

 

func ContainsValue(_ Value: TValue) -> Boolean

 

Boolean ContainsValue(TValue Value)

 

Function ContainsValue(Value As TValue) As Boolean

Parameters:

  • Value:

countByEnumeratingWithState    (declared in TEnumerable<T>) Toffee

 

func countByEnumeratingWithState(_ aState: UnsafeMutablePointer<NSFastEnumerationState>, objects aStackbuf: UnsafeMutablePointer<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>, count len: NSUInteger) -> NSUInteger

Parameters:

  • aState:
  • aStackbuf:
  • len:

Destroy  virtual    (declared in TDelphiObject) .NET, Cooper, Island

 

method Destroy

 

void Destroy()

 

func Destroy()

 

void Destroy()

 

Sub Destroy()

Destroy Destroy()  virtual    (declared in TDelphiObject) Toffee

 

func Destroy(Destroy )

Parameters:

  • :

Dispose    (declared in TDelphiObject) Island

 

method Dispose

 

void Dispose()

 

func Dispose()

 

Sub Dispose()

DoGetEnumerator  protected    (declared in TEnumerable<T>) .NET

 

method DoGetEnumerator: TEnumerator<T>

 

TEnumerator<T> DoGetEnumerator()

 

func DoGetEnumerator() -> TEnumerator<T>

 

TEnumerator<T> DoGetEnumerator()

 

Function DoGetEnumerator() As TEnumerator<T>

ExtractPair  virtual

 

method ExtractPair(Key: TKey): KeyValuePair<TKey, TValue>

 

KeyValuePair<TKey, TValue> ExtractPair(TKey Key)

 

func ExtractPair(_ Key: TKey) -> KeyValuePair<TKey, TValue>

 

KeyValuePair<TKey, TValue> ExtractPair(TKey Key)

 

Function ExtractPair(Key As TKey) As KeyValuePair<TKey, TValue>

Parameters:

  • Key:

Finalize  protected    (declared in TDelphiObject) .NET

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Free    (declared in TDelphiObject) .NET, Cooper, Island

 

method Free

 

void Free()

 

func Free()

 

void Free()

 

Sub Free()

Free Free()  virtual    (declared in TDelphiObject) Toffee

 

func Free(Free )

Parameters:

  • :

GetEnumerator  override virtual Island

 

method GetEnumerator: IEnumerator<KeyValuePair<TKey, TValue>>

 

func GetEnumerator() -> IEnumerator<KeyValuePair<TKey, TValue>>

 

Function GetEnumerator() As IEnumerator<KeyValuePair<TKey, TValue>>

GetEnumerator  virtual abstract    (declared in TEnumerable<T>) .NET, Island

 

// .NET
method GetEnumerator: IEnumerator<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
method GetEnumerator: IEnumerator<T>

 

// .NET
IEnumerator<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)> GetEnumerator()
// Island
IEnumerator<T> GetEnumerator()

 

// .NET
func GetEnumerator() -> IEnumerator<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
func GetEnumerator() -> IEnumerator<T>

 

// .NET
Function GetEnumerator() As IEnumerator<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
Function GetEnumerator() As IEnumerator<T>

GetMetaClass  override virtual .NET, Cooper, Island

 

method GetMetaClass: class of TDelphiObject

 

class of TDelphiObject GetMetaClass()

 

func GetMetaClass() -> class of TDelphiObject

 

class of TDelphiObject GetMetaClass()

 

Function GetMetaClass() As class of TDelphiObject

GetNonGenericEnumerator  protected    (declared in TEnumerable<T>) .NET, Island

 

// .NET
method GetNonGenericEnumerator: IEnumerator
// Island
method GetNonGenericEnumerator: IEnumerator

 

// .NET
IEnumerator GetNonGenericEnumerator()
// Island
IEnumerator GetNonGenericEnumerator()

 

// .NET
func GetNonGenericEnumerator() -> IEnumerator
// Island
func GetNonGenericEnumerator() -> IEnumerator

 

// .NET
Function GetNonGenericEnumerator() As IEnumerator
// Island
Function GetNonGenericEnumerator() As IEnumerator

GetSequence  protected override virtual .NET, Cooper, Island

 

method GetSequence: IEnumerable<KeyValuePair<TKey, TValue>>

 

func GetSequence() -> IEnumerable<KeyValuePair<TKey, TValue>>

 

Iterable<KeyValuePair<TKey, TValue>> GetSequence()

 

Function GetSequence() As IEnumerable<KeyValuePair<TKey, TValue>>

GetSequence  protected virtual abstract    (declared in TEnumerable<T>) .NET, Cooper, Island

 

// .NET
method GetSequence: IEnumerable<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
method GetSequence: IEnumerable<T>

 

// .NET
IEnumerable<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)> GetSequence()
// Island
IEnumerable<T> GetSequence()

 

// .NET
func GetSequence() -> IEnumerable<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
func GetSequence() -> IEnumerable<T>

 

Iterable<KeyValuePair<TKey, TValue>> GetSequence()

 

// .NET
Function GetSequence() As IEnumerable<[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)>
// Island
Function GetSequence() As IEnumerable<T>

GetSequence GetSequence(): INSFastEnumeration<KeyValuePair<TKey, TValue>>  protected override Toffee

 

func GetSequence(GetSequence ) -> INSFastEnumeration<KeyValuePair<TKey, TValue>>

Parameters:

  • :

iterator  final    (declared in TEnumerable<T>) Cooper

 

method iterator: Iterator<KeyValuePair<TKey, TValue>>

 

Iterator<KeyValuePair<TKey, TValue>> iterator()

 

func iterator() -> Iterator<KeyValuePair<TKey, TValue>>

 

Iterator<KeyValuePair<TKey, TValue>> iterator()

 

Function iterator() As Iterator<KeyValuePair<TKey, TValue>>

KeyNotify  protected virtual

 

method KeyNotify(Key: TKey; Action: TCollectionNotification)

 

void KeyNotify(TKey Key, TCollectionNotification Action)

 

func KeyNotify(_ Key: TKey, _ Action: TCollectionNotification)

 

void KeyNotify(TKey Key, TCollectionNotification Action)

 

Sub KeyNotify(Key As TKey, Action As TCollectionNotification)

Parameters:

  • Key:
  • Action:

Remove  virtual

 

method Remove(Key: TKey)

 

void Remove(TKey Key)

 

func Remove(_ Key: TKey)

 

void Remove(TKey Key)

 

Sub Remove(Key As TKey)

Parameters:

  • Key:

ToArray  override virtual .NET, Cooper, Island

 

method ToArray: array of KeyValuePair<TKey, TValue>

 

func ToArray() -> KeyValuePair<TKey, TValue>...

 

KeyValuePair<TKey, TValue>[] ToArray()

 

Function ToArray() As KeyValuePair<TKey, TValue>()

ToArray  virtual    (declared in TEnumerable<T>) .NET, Cooper, Island

 

method ToArray: array of [KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)

 

[KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)[] ToArray()

 

func ToArray() -> [KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)...

 

KeyValuePair<TKey, TValue>[] ToArray()

 

Function ToArray() As [KeyValuePair<TKey, TValue>](/API/ElementsRTL/Classes/KeyValuePair-T, U-/)()

ToArray ToArray(): array of KeyValuePair<TKey, TValue>  override Toffee

 

func ToArray(ToArray ) -> KeyValuePair<TKey, TValue>...

Parameters:

  • :

TrimExcess .NET, Cooper, Island

 

method TrimExcess

 

void TrimExcess()

 

func TrimExcess()

 

void TrimExcess()

 

Sub TrimExcess()

TrimExcess TrimExcess()  virtual Toffee

 

func TrimExcess(TrimExcess )

Parameters:

  • :

TryGetValue  virtual

 

method TryGetValue(Key: TKey; out Value: TValue): Boolean

 

Boolean TryGetValue(TKey Key, out TValue Value)

 

func TryGetValue(_ Key: TKey, _ Value: TValue) -> Boolean

 

Boolean TryGetValue(TKey Key, __out TValue Value)

 

Function TryGetValue(Key As TKey, <OutAttribute> ByRef Value As TValue) As Boolean

Parameters:

  • Key:
  • Value:

ValueNotify  protected virtual

 

method ValueNotify(Value: TValue; Action: TCollectionNotification)

 

void ValueNotify(TValue Value, TCollectionNotification Action)

 

func ValueNotify(_ Value: TValue, _ Action: TCollectionNotification)

 

void ValueNotify(TValue Value, TCollectionNotification Action)

 

Sub ValueNotify(Value As TValue, Action As TCollectionNotification)

Parameters:

  • Value:
  • Action: