Dictionary<T,U>

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard
    • elements.jar  Iodine
    • Elements.fx  Island
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Mapped to:
    • System.Collections.Generic.Dictionary<T,U>  .NET, .NET Standard
    • java.util.HashMap<T,U>  Iodine
    • RemObjects.Elements.System.Dictionary<T,U>  Island
    • Foundation.NSMutableDictionary<T,U>  Toffee
  • Ancestry: ImmutableDictionary<T,U> | Dictionary<T,U>

 

constructor

 

constructor()

 

Dictionary<T,U>()

 

init()

 

Dictionary<T,U>()

constructor (Int32)

 

// .NET, .NET Standard
constructor(aCapacity: Int32)
// Island
constructor(aCapacity: Int32)

 

// .NET, .NET Standard
Dictionary<T,U>(Int32 aCapacity)
// Island
Dictionary<T,U>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

Dictionary<T,U>(Integer aCapacity)

Parameters:

  • aCapacity:

Add (ImmutableDictionary<T,U>)  virtual Iodine, Toffee

 

func Add(_ aDictionary: ImmutableDictionary<T,U>)

 

void Add(ImmutableDictionary<T,U> aDictionary)

Parameters:

  • aDictionary:

Add (not nullable T, nullable GenericNullable<U>) Island

 

method Add(Key: not nullable T; Value: nullable GenericNullable<U>)

 

void Add(T! Key, GenericNullable<U>? Value)

 

func Add(_ Key: T, _ Value: GenericNullable<U>?)

Parameters:

  • Key:
  • Value:

Add (not nullable T, nullable U)  virtual .NET, .NET Standard, Iodine, Toffee

 

method Add(Key: not nullable T; Value: nullable U)

 

void Add(T! Key, U? Value)

 

func Add(_ Key: T, _ Value: U?)

 

void Add(T! Key, U? Value)

Parameters:

  • Key:
  • Value:

Add (nullable ImmutableDictionary<T, U>) .NET, .NET Standard, Island

 

method Add(aDictionary: nullable ImmutableDictionary<T, U>)

 

void Add(ImmutableDictionary<T, U>? aDictionary)

 

func Add(_ aDictionary: ImmutableDictionary<T, U>?)

Parameters:

  • aDictionary:

ContainsKey  virtual    (declared in ImmutableDictionary<T,U>)

 

// .NET, .NET Standard
method ContainsKey(Key: not nullable T): Boolean
// Island
method ContainsKey(Key: not nullable T): Boolean

 

// .NET, .NET Standard
Boolean ContainsKey(T! Key)
// Island
Boolean ContainsKey(T! Key)

 

func ContainsKey(_ Key: T) -> Boolean

 

Boolean ContainsKey(T! Key)

Parameters:

  • Key:

ContainsValue  virtual    (declared in ImmutableDictionary<T,U>)

 

// .NET, .NET Standard
method ContainsValue(Value: not nullable U): Boolean
// Island
method ContainsValue(Value: not nullable U): Boolean

 

// .NET, .NET Standard
Boolean ContainsValue(U! Value)
// Island
Boolean ContainsValue(U! Value)

 

func ContainsValue(_ Value: U) -> Boolean

 

Boolean ContainsValue(U! Value)

Parameters:

  • Value:

Count  virtual    (declared in ImmutableDictionary<T,U>)

 

// .NET, .NET Standard
property Count: Int32 read
// Island
property Count: Int32 read

 

// .NET, .NET Standard
Int32 Count { get; }
// Island
Int32 Count { get; }

 

// .NET, .NET Standard, Toffee
var Count: Int32 { get{} }
// Island
var Count: Int32 { get{} }

 

Integer Count { __get; }

ForEach  virtual    (declared in ImmutableDictionary<T,U>)

 

method ForEach(Action: Action<[KeyValuePair<T, U>](/API/ElementsRTL/Classes/KeyValuePair-T, U-.md)>)

 

void ForEach(Action<[KeyValuePair<T, U>](/API/ElementsRTL/Classes/KeyValuePair-T, U-.md)> Action)

 

func ForEach(_ Action: Action<[KeyValuePair<T, U>](/API/ElementsRTL/Classes/KeyValuePair-T, U-.md)>)

 

void ForEach(Action<[KeyValuePair<T, U>](/API/ElementsRTL/Classes/KeyValuePair-T, U-.md)> Action)

Parameters:

  • Action:

get_Item    (declared in ImmutableDictionary<T,U>) .NET, .NET Standard

 

method get_Item(Key: not nullable T): nullable U

 

U? get_Item(T! Key)

 

func get_Item(_ Key: T) -> U?

Parameters:

  • Key:

getItem Iodine

 

method getItem(aKey: not nullable T): nullable U

 

U? getItem(T! aKey)

 

func getItem(_ aKey: T) -> U?

 

U? getItem(T! aKey)

Parameters:

  • aKey:

GetSequence  virtual    (declared in ImmutableDictionary<T,U>) Iodine, Island, Toffee

 

method GetSequence(): IEnumerable<KeyValuePair<T,U>>

 

func GetSequence() -> INSFastEnumeration<KeyValuePair<T,U>>

 

Iterable<KeyValuePair<T,U>> GetSequence()

Item  virtual

 

// .NET, .NET Standard
property Item[aKey: not nullable T]: nullable U read write
// Island
property Item[aKey: not nullable T]: nullable GenericNullable<U> read write

 

// .NET, .NET Standard
U? Item[T! aKey] { get; set; }
// Island
GenericNullable<U>? Item[T! aKey] { get; set; }

 

// .NET, .NET Standard, Toffee
subscript Item(_ aKey: T) -> U? { get{} set{} }
// Island
subscript Item(_ aKey: T) -> GenericNullable<U>? { get{} set{} }

 

U? Item[T! aKey] { __get; __set; }

Keys  virtual    (declared in ImmutableDictionary<T,U>)

 

property Keys: not nullable ImmutableList<T> read

 

ImmutableList<T>! Keys { get; }

 

var Keys: ImmutableList<T> { get{} }

 

ImmutableList<T>! Keys { __get; }

MutableVersion  virtual    (declared in ImmutableDictionary<T,U>)

 

method MutableVersion(): not nullable Dictionary<T,U>

 

Dictionary<T,U>! MutableVersion()

 

func MutableVersion() -> Dictionary<T,U>

 

Dictionary<T,U>! MutableVersion()

Remove  virtual

 

// .NET, .NET Standard
method Remove(Key: not nullable T): Boolean
// Island
method Remove(Key: not nullable T): Boolean

 

// .NET, .NET Standard
Boolean Remove(T! Key)
// Island
Boolean Remove(T! Key)

 

func Remove(_ Key: T) -> Boolean

 

Boolean Remove(T! Key)

Parameters:

  • Key:

RemoveAll  virtual

 

method RemoveAll()

 

void RemoveAll()

 

func RemoveAll()

 

void RemoveAll()

setItem Iodine

 

method setItem(Key: not nullable T; Value: nullable U)

 

void setItem(T! Key, U? Value)

 

func setItem(_ Key: T, _ Value: U?)

 

void setItem(T! Key, U? Value)

Parameters:

  • Key:
  • Value:

UniqueCopy  virtual    (declared in ImmutableDictionary<T,U>)

 

method UniqueCopy(): not nullable ImmutableDictionary<T,U>

 

ImmutableDictionary<T,U>! UniqueCopy()

 

func UniqueCopy() -> ImmutableDictionary<T,U>

 

ImmutableDictionary<T,U>! UniqueCopy()

UniqueMutableCopy  virtual    (declared in ImmutableDictionary<T,U>)

 

method UniqueMutableCopy(): not nullable Dictionary<T,U>

 

Dictionary<T,U>! UniqueMutableCopy()

 

func UniqueMutableCopy() -> Dictionary<T,U>

 

Dictionary<T,U>! UniqueMutableCopy()

Values  virtual    (declared in ImmutableDictionary<T,U>)

 

// .NET, .NET Standard
property Values: not nullable IEnumerable<U> read
// Island
property Values: not nullable IEnumerable<U> read

 

// .NET, .NET Standard
IEnumerable<U>! Values { get; }
// Island
IEnumerable<U>! Values { get; }

 

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

 

Iterable<U>! Values { __get; }

 

Count  virtual    (declared in ImmutableDictionary<T,U>)

 

// .NET, .NET Standard
property Count: Int32 read
// Island
property Count: Int32 read

 

// .NET, .NET Standard
Int32 Count { get; }
// Island
Int32 Count { get; }

 

// .NET, .NET Standard, Toffee
var Count: Int32 { get{} }
// Island
var Count: Int32 { get{} }

 

Integer Count { __get; }

Item  virtual

 

// .NET, .NET Standard
property Item[aKey: not nullable T]: nullable U read write
// Island
property Item[aKey: not nullable T]: nullable GenericNullable<U> read write

 

// .NET, .NET Standard
U? Item[T! aKey] { get; set; }
// Island
GenericNullable<U>? Item[T! aKey] { get; set; }

 

// .NET, .NET Standard, Toffee
subscript Item(_ aKey: T) -> U? { get{} set{} }
// Island
subscript Item(_ aKey: T) -> GenericNullable<U>? { get{} set{} }

 

U? Item[T! aKey] { __get; __set; }

Keys  virtual    (declared in ImmutableDictionary<T,U>)

 

property Keys: not nullable ImmutableList<T> read

 

ImmutableList<T>! Keys { get; }

 

var Keys: ImmutableList<T> { get{} }

 

ImmutableList<T>! Keys { __get; }

Values  virtual    (declared in ImmutableDictionary<T,U>)

 

// .NET, .NET Standard
property Values: not nullable IEnumerable<U> read
// Island
property Values: not nullable IEnumerable<U> read

 

// .NET, .NET Standard
IEnumerable<U>! Values { get; }
// Island
IEnumerable<U>! Values { get; }

 

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

 

Iterable<U>! Values { __get; }

 

constructor

 

constructor()

 

Dictionary<T,U>()

 

init()

 

Dictionary<T,U>()

constructor (Int32)

 

// .NET, .NET Standard
constructor(aCapacity: Int32)
// Island
constructor(aCapacity: Int32)

 

// .NET, .NET Standard
Dictionary<T,U>(Int32 aCapacity)
// Island
Dictionary<T,U>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

Dictionary<T,U>(Integer aCapacity)

Parameters:

  • aCapacity:

Add (ImmutableDictionary<T,U>)  virtual Iodine, Toffee

 

func Add(_ aDictionary: ImmutableDictionary<T,U>)

 

void Add(ImmutableDictionary<T,U> aDictionary)

Parameters:

  • aDictionary:

Add (not nullable T, nullable GenericNullable<U>) Island

 

method Add(Key: not nullable T; Value: nullable GenericNullable<U>)

 

void Add(T! Key, GenericNullable<U>? Value)

 

func Add(_ Key: T, _ Value: GenericNullable<U>?)

Parameters:

  • Key:
  • Value:

Add (not nullable T, nullable U)  virtual .NET, .NET Standard, Iodine, Toffee

 

method Add(Key: not nullable T; Value: nullable U)

 

void Add(T! Key, U? Value)

 

func Add(_ Key: T, _ Value: U?)

 

void Add(T! Key, U? Value)

Parameters:

  • Key:
  • Value:

Add (nullable ImmutableDictionary<T, U>) .NET, .NET Standard, Island

 

method Add(aDictionary: nullable ImmutableDictionary<T, U>)

 

void Add(ImmutableDictionary<T, U>? aDictionary)

 

func Add(_ aDictionary: ImmutableDictionary<T, U>?)

Parameters:

  • aDictionary:

ContainsKey  virtual    (declared in ImmutableDictionary<T,U>)

 

// .NET, .NET Standard
method ContainsKey(Key: not nullable T): Boolean
// Island
method ContainsKey(Key: not nullable T): Boolean

 

// .NET, .NET Standard
Boolean ContainsKey(T! Key)
// Island
Boolean ContainsKey(T! Key)

 

func ContainsKey(_ Key: T) -> Boolean

 

Boolean ContainsKey(T! Key)

Parameters:

  • Key:

ContainsValue  virtual    (declared in ImmutableDictionary<T,U>)

 

// .NET, .NET Standard
method ContainsValue(Value: not nullable U): Boolean
// Island
method ContainsValue(Value: not nullable U): Boolean

 

// .NET, .NET Standard
Boolean ContainsValue(U! Value)
// Island
Boolean ContainsValue(U! Value)

 

func ContainsValue(_ Value: U) -> Boolean

 

Boolean ContainsValue(U! Value)

Parameters:

  • Value:

ForEach  virtual    (declared in ImmutableDictionary<T,U>)

 

method ForEach(Action: Action<[KeyValuePair<T, U>](/API/ElementsRTL/Classes/KeyValuePair-T, U-.md)>)

 

void ForEach(Action<[KeyValuePair<T, U>](/API/ElementsRTL/Classes/KeyValuePair-T, U-.md)> Action)

 

func ForEach(_ Action: Action<[KeyValuePair<T, U>](/API/ElementsRTL/Classes/KeyValuePair-T, U-.md)>)

 

void ForEach(Action<[KeyValuePair<T, U>](/API/ElementsRTL/Classes/KeyValuePair-T, U-.md)> Action)

Parameters:

  • Action:

get_Item    (declared in ImmutableDictionary<T,U>) .NET, .NET Standard

 

method get_Item(Key: not nullable T): nullable U

 

U? get_Item(T! Key)

 

func get_Item(_ Key: T) -> U?

Parameters:

  • Key:

getItem Iodine

 

method getItem(aKey: not nullable T): nullable U

 

U? getItem(T! aKey)

 

func getItem(_ aKey: T) -> U?

 

U? getItem(T! aKey)

Parameters:

  • aKey:

GetSequence  virtual    (declared in ImmutableDictionary<T,U>) Iodine, Island, Toffee

 

method GetSequence(): IEnumerable<KeyValuePair<T,U>>

 

func GetSequence() -> INSFastEnumeration<KeyValuePair<T,U>>

 

Iterable<KeyValuePair<T,U>> GetSequence()

MutableVersion  virtual    (declared in ImmutableDictionary<T,U>)

 

method MutableVersion(): not nullable Dictionary<T,U>

 

Dictionary<T,U>! MutableVersion()

 

func MutableVersion() -> Dictionary<T,U>

 

Dictionary<T,U>! MutableVersion()

Remove  virtual

 

// .NET, .NET Standard
method Remove(Key: not nullable T): Boolean
// Island
method Remove(Key: not nullable T): Boolean

 

// .NET, .NET Standard
Boolean Remove(T! Key)
// Island
Boolean Remove(T! Key)

 

func Remove(_ Key: T) -> Boolean

 

Boolean Remove(T! Key)

Parameters:

  • Key:

RemoveAll  virtual

 

method RemoveAll()

 

void RemoveAll()

 

func RemoveAll()

 

void RemoveAll()

setItem Iodine

 

method setItem(Key: not nullable T; Value: nullable U)

 

void setItem(T! Key, U? Value)

 

func setItem(_ Key: T, _ Value: U?)

 

void setItem(T! Key, U? Value)

Parameters:

  • Key:
  • Value:

UniqueCopy  virtual    (declared in ImmutableDictionary<T,U>)

 

method UniqueCopy(): not nullable ImmutableDictionary<T,U>

 

ImmutableDictionary<T,U>! UniqueCopy()

 

func UniqueCopy() -> ImmutableDictionary<T,U>

 

ImmutableDictionary<T,U>! UniqueCopy()

UniqueMutableCopy  virtual    (declared in ImmutableDictionary<T,U>)

 

method UniqueMutableCopy(): not nullable Dictionary<T,U>

 

Dictionary<T,U>! UniqueMutableCopy()

 

func UniqueMutableCopy() -> Dictionary<T,U>

 

Dictionary<T,U>! UniqueMutableCopy()