Dictionary<T,U>

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard
    • elements.jar  Cooper
    • 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>  Cooper
    • 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)

 

constructor(aCapacity: Int32)

 

Dictionary<T,U>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

Dictionary<T,U>(Integer aCapacity)

Parameters:

  • aCapacity:

Add (ImmutableDictionary<T,U>)  virtual Cooper, 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, Cooper, 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>)

 

method ContainsKey(Key: not nullable T): Boolean

 

Boolean ContainsKey(T! Key)

 

func ContainsKey(_ Key: T) -> Boolean

 

Boolean ContainsKey(T! Key)

Parameters:

  • Key:

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

 

method ContainsValue(Value: not nullable U): Boolean

 

Boolean ContainsValue(U! Value)

 

func ContainsValue(_ Value: U) -> Boolean

 

Boolean ContainsValue(U! Value)

Parameters:

  • Value:

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

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

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

 

method ForEach(Action: Action<KeyValuePair<T, U>>)

 

void ForEach(Action<KeyValuePair<T, U>> Action)

 

func ForEach(_ Action: Action<KeyValuePair<T, U>>)

 

void ForEach(Action1<KeyValuePair<T, U>> 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 Cooper

 

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

 

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

 

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

 

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

 

method Remove(Key: not nullable T): Boolean

 

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 Cooper

 

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

 

property Values: not nullable IEnumerable<U> read;

 

IEnumerable<U>! Values { get; }

 

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

 

Iterable<U>! Values { __get; }

 

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

 

property Count: Int32 read;

 

Int32 Count { get; }

 

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

 

property Values: not nullable IEnumerable<U> read;

 

IEnumerable<U>! Values { get; }

 

// .NET, .NET Standard, 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)

 

constructor(aCapacity: Int32)

 

Dictionary<T,U>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

Dictionary<T,U>(Integer aCapacity)

Parameters:

  • aCapacity:

Add (ImmutableDictionary<T,U>)  virtual Cooper, 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, Cooper, 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>)

 

method ContainsKey(Key: not nullable T): Boolean

 

Boolean ContainsKey(T! Key)

 

func ContainsKey(_ Key: T) -> Boolean

 

Boolean ContainsKey(T! Key)

Parameters:

  • Key:

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

 

method ContainsValue(Value: not nullable U): Boolean

 

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

 

void ForEach(Action<KeyValuePair<T, U>> Action)

 

func ForEach(_ Action: Action<KeyValuePair<T, U>>)

 

void ForEach(Action1<KeyValuePair<T, U>> 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 Cooper

 

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

 

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

 

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

 

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

 

method Remove(Key: not nullable T): Boolean

 

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 Cooper

 

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