TDictionary<TKey,TValue>

Overview

Location

 

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

 

constructor

 

TDictionary<TKey,TValue>()

 

init()

 

TDictionary<TKey,TValue>()

constructor (Int32): InstanceType

 

constructor(aCapacity: Int32)

 

TDictionary<TKey,TValue>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

TDictionary<TKey,TValue>(Integer aCapacity)

Parameters:

  • aCapacity:

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

 

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)

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)

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)

Parameters:

  • Key:
  • Value:

Clear  virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

ContainsKey  virtual

 

method ContainsKey(Key: TKey): Boolean

 

Boolean ContainsKey(TKey Key)

 

func ContainsKey(_ Key: TKey) -> Boolean

 

Boolean ContainsKey(TKey Key)

Parameters:

  • Key:

ContainsValue  virtual

 

method ContainsValue(Value: TValue): Boolean

 

Boolean ContainsValue(TValue Value)

 

func ContainsValue(_ Value: TValue) -> Boolean

 

Boolean ContainsValue(TValue Value)

Parameters:

  • Value:

Count  virtual

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

countByEnumeratingWithState    (declared in TEnumerable<T>) Toffee

 

func countByEnumeratingWithState(_ aState: UnsafeMutablePointer<NSFastEnumerationState>, objects aStackbuf: UnsafeMutablePointer<KeyValuePair<TKey, TValue>>, count len: NSUInteger) -> NSUInteger

Parameters:

  • aState:
  • aStackbuf:
  • len:

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

 

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

 

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

 

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

 

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

Parameters:

  • aComparer:

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)

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)

Parameters:

  • aCapacity:
  • aComparer:

Create (TEnumerable<KeyValuePair<TKey, TValue>>): TDictionary<TKey,TValue>  virtual

 

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

 

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

 

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

 

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

Parameters:

  • Collection:

 

class method 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)

 

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)

Parameters:

  • Collection:
  • aComparer:

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)

Parameters:

  • Key:

GetEnumerator  override virtual Island

 

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

 

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

 

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

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

GetSequence  protected override

 

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

 

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

 

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

 

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

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; }

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()

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)

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; }

OnKeyNotify  virtual

 

property OnKeyNotify: TCollectionNotifyEvent<TKey> read write;

 

TCollectionNotifyEvent<TKey> OnKeyNotify { get; set; }

 

var OnKeyNotify: TCollectionNotifyEvent<TKey> { get{} set{} }

 

TCollectionNotifyEvent<TKey> OnKeyNotify { __get; __set; }

OnValueNotify  virtual

 

property OnValueNotify: TCollectionNotifyEvent<TValue> read write;

 

TCollectionNotifyEvent<TValue> OnValueNotify { get; set; }

 

var OnValueNotify: TCollectionNotifyEvent<TValue> { get{} set{} }

 

TCollectionNotifyEvent<TValue> OnValueNotify { __get; __set; }

Remove  virtual

 

method Remove(Key: TKey)

 

void Remove(TKey Key)

 

func Remove(_ Key: TKey)

 

void Remove(TKey Key)

Parameters:

  • Key:

ToArray  override

 

method ToArray: array of KeyValuePair<TKey, TValue>

 

KeyValuePair<TKey, TValue>[] ToArray()

 

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

 

KeyValuePair<TKey, TValue>[] ToArray()

TrimExcess  virtual

 

method TrimExcess

 

void TrimExcess()

 

func TrimExcess()

 

void TrimExcess()

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)

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)

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; }

 

Count  virtual

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

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; }

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; }

OnKeyNotify  virtual

 

property OnKeyNotify: TCollectionNotifyEvent<TKey> read write;

 

TCollectionNotifyEvent<TKey> OnKeyNotify { get; set; }

 

var OnKeyNotify: TCollectionNotifyEvent<TKey> { get{} set{} }

 

TCollectionNotifyEvent<TKey> OnKeyNotify { __get; __set; }

OnValueNotify  virtual

 

property OnValueNotify: TCollectionNotifyEvent<TValue> read write;

 

TCollectionNotifyEvent<TValue> OnValueNotify { get; set; }

 

var OnValueNotify: TCollectionNotifyEvent<TValue> { get{} set{} }

 

TCollectionNotifyEvent<TValue> OnValueNotify { __get; __set; }

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; }

 

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

 

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

 

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

 

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

 

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

Parameters:

  • aComparer:

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)

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)

Parameters:

  • aCapacity:
  • aComparer:

Create (TEnumerable<KeyValuePair<TKey, TValue>>): TDictionary<TKey,TValue>  virtual

 

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

 

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

 

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

 

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

Parameters:

  • Collection:

 

class method 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)

 

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)

Parameters:

  • Collection:
  • aComparer:

 

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

 

constructor

 

TDictionary<TKey,TValue>()

 

init()

 

TDictionary<TKey,TValue>()

constructor (Int32): InstanceType

 

constructor(aCapacity: Int32)

 

TDictionary<TKey,TValue>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

TDictionary<TKey,TValue>(Integer aCapacity)

Parameters:

  • aCapacity:

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

 

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)

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)

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)

Parameters:

  • Key:
  • Value:

Clear  virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

ContainsKey  virtual

 

method ContainsKey(Key: TKey): Boolean

 

Boolean ContainsKey(TKey Key)

 

func ContainsKey(_ Key: TKey) -> Boolean

 

Boolean ContainsKey(TKey Key)

Parameters:

  • Key:

ContainsValue  virtual

 

method ContainsValue(Value: TValue): Boolean

 

Boolean ContainsValue(TValue Value)

 

func ContainsValue(_ Value: TValue) -> Boolean

 

Boolean ContainsValue(TValue Value)

Parameters:

  • Value:

countByEnumeratingWithState    (declared in TEnumerable<T>) Toffee

 

func countByEnumeratingWithState(_ aState: UnsafeMutablePointer<NSFastEnumerationState>, objects aStackbuf: UnsafeMutablePointer<KeyValuePair<TKey, TValue>>, count len: NSUInteger) -> NSUInteger

Parameters:

  • aState:
  • aStackbuf:
  • len:

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)

Parameters:

  • Key:

GetEnumerator  override virtual Island

 

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

 

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

 

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

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

GetSequence  protected override

 

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

 

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

 

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

 

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

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()

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)

Parameters:

  • Key:
  • Action:

Remove  virtual

 

method Remove(Key: TKey)

 

void Remove(TKey Key)

 

func Remove(_ Key: TKey)

 

void Remove(TKey Key)

Parameters:

  • Key:

ToArray  override

 

method ToArray: array of KeyValuePair<TKey, TValue>

 

KeyValuePair<TKey, TValue>[] ToArray()

 

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

 

KeyValuePair<TKey, TValue>[] ToArray()

TrimExcess  virtual

 

method TrimExcess

 

void TrimExcess()

 

func TrimExcess()

 

void TrimExcess()

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)

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)

Parameters:

  • Value:
  • Action: