ImmutableDictionary<T,U>

Overview

Location

  • Reference: Island.fx
  • Namespace: RemObjects.Elements.System
  • Platforms: Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-armv7k, WebAssembly, Windows

Descendants

Implements

 

constructor

 

constructor

 

ImmutableDictionary<T,U>()

 

init()

 

ImmutableDictionary<T,U>()

constructor (NSDictionary<T, U>) iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, UIKit for Mac, watchOS Simulator, watchOS-armv7k

 

constructor(aDictionary: NSDictionary<T, U>)

 

ImmutableDictionary<T,U>(NSDictionary<T, U> aDictionary)

 

init(_ aDictionary: NSDictionary<T, U>)

 

ImmutableDictionary<T,U>(NSDictionary<T, U> aDictionary)

Parameters:

  • aDictionary:

constructor (Int32)

 

constructor(aCapacity: Int32)

 

ImmutableDictionary<T,U>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

ImmutableDictionary<T,U>(Int32 aCapacity)

Parameters:

  • aCapacity:

constructor (Int32, nullable IEqualityComparer<T>)

 

constructor(aCapacity: Int32; aComparer: nullable IEqualityComparer<T>)

 

ImmutableDictionary<T,U>(Int32 aCapacity, IEqualityComparer<T>? aComparer)

 

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

 

ImmutableDictionary<T,U>(Int32 aCapacity, IEqualityComparer<T>? aComparer)

Parameters:

  • aCapacity:
  • aComparer:

constructor (not nullable ImmutableDictionary<T,U>)

 

constructor(aDictionary: not nullable ImmutableDictionary<T,U>)

 

ImmutableDictionary<T,U>(ImmutableDictionary<T,U>! aDictionary)

 

init(_ aDictionary: ImmutableDictionary<T,U>)

 

ImmutableDictionary<T,U>(ImmutableDictionary<T,U>! aDictionary)

Parameters:

  • aDictionary:

constructor (not nullable ImmutableDictionary<T,U>, nullable IEqualityComparer<T>)

 

constructor(aDictionary: not nullable ImmutableDictionary<T,U>; aComparer: nullable IEqualityComparer<T>)

 

ImmutableDictionary<T,U>(ImmutableDictionary<T,U>! aDictionary, IEqualityComparer<T>? aComparer)

 

init(_ aDictionary: ImmutableDictionary<T,U>, _ aComparer: IEqualityComparer<T>?)

 

ImmutableDictionary<T,U>(ImmutableDictionary<T,U>! aDictionary, IEqualityComparer<T>? aComparer)

Parameters:

  • aDictionary:
  • aComparer:

constructor (nullable IEqualityComparer<T>)

 

constructor(aComparer: nullable IEqualityComparer<T>)

 

ImmutableDictionary<T,U>(IEqualityComparer<T>? aComparer)

 

init(_ aComparer: IEqualityComparer<T>?)

 

ImmutableDictionary<T,U>(IEqualityComparer<T>? aComparer)

Parameters:

  • aComparer:

ContainsKey

 

method ContainsKey(Key: T): Boolean

 

Boolean ContainsKey(T Key)

 

func ContainsKey(_ Key: T) -> Boolean

 

Boolean ContainsKey(T Key)

Parameters:

  • Key:

ContainsValue

 

method ContainsValue(Value: U): Boolean

 

Boolean ContainsValue(U Value)

 

func ContainsValue(_ Value: U) -> Boolean

 

Boolean ContainsValue(U Value)

Parameters:

  • Value:

Count

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Int32 Count { __get; }

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

ForEach

 

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:

GetEnumerator  virtual

 

method GetEnumerator: IEnumerator<KeyValuePair<T, U>>

 

IEnumerator<KeyValuePair<T, U>> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<KeyValuePair<T, U>>

 

IEnumerator<KeyValuePair<T, U>> GetEnumerator()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetSequence

 

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

 

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

 

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

 

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

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

Item  virtual

 

property Item[Key: T]: U read write;

 

U Item[T Key] { get; set; }

 

subscript Item(_ Key: T) -> U { get{} set{} }

 

U Item[T Key] { __get; __set; }

Keys

 

property Keys: IEnumerable<T> read;

 

IEnumerable<T> Keys { get; }

 

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

 

IEnumerable<T> Keys { __get; }

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

ToNSDictionary iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, UIKit for Mac, watchOS Simulator, watchOS-armv7k

 

method ToNSDictionary: NSDictionary<T, U>

 

NSDictionary<T, U> ToNSDictionary()

 

func ToNSDictionary() -> NSDictionary<T, U>

 

NSDictionary<T, U> ToNSDictionary()

ToNSMutableDictionary iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, UIKit for Mac, watchOS Simulator, watchOS-armv7k

 

method ToNSMutableDictionary: NSMutableDictionary<T, U>

 

NSMutableDictionary<T, U> ToNSMutableDictionary()

 

func ToNSMutableDictionary() -> NSMutableDictionary<T, U>

 

NSMutableDictionary<T, U> ToNSMutableDictionary()

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

TryGetValue

 

method TryGetValue(aKey: T; out aValue: U): Boolean

 

Boolean TryGetValue(T aKey, out U aValue)

 

func TryGetValue(_ aKey: T, _ aValue: U) -> Boolean

 

Boolean TryGetValue(T aKey, __out U aValue)

Parameters:

  • aKey:
  • aValue:

Values

 

property Values: IEnumerable<U> read;

 

IEnumerable<U> Values { get; }

 

var Values: IEnumerable<U> { get{} }

 

IEnumerable<U> Values { __get; }

 

Count

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Int32 Count { __get; }

Item  virtual

 

property Item[Key: T]: U read write;

 

U Item[T Key] { get; set; }

 

subscript Item(_ Key: T) -> U { get{} set{} }

 

U Item[T Key] { __get; __set; }

Keys

 

property Keys: IEnumerable<T> read;

 

IEnumerable<T> Keys { get; }

 

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

 

IEnumerable<T> Keys { __get; }

Values

 

property Values: IEnumerable<U> read;

 

IEnumerable<U> Values { get; }

 

var Values: IEnumerable<U> { get{} }

 

IEnumerable<U> Values { __get; }

 

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

 

constructor

 

constructor

 

ImmutableDictionary<T,U>()

 

init()

 

ImmutableDictionary<T,U>()

constructor (NSDictionary<T, U>) iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, UIKit for Mac, watchOS Simulator, watchOS-armv7k

 

constructor(aDictionary: NSDictionary<T, U>)

 

ImmutableDictionary<T,U>(NSDictionary<T, U> aDictionary)

 

init(_ aDictionary: NSDictionary<T, U>)

 

ImmutableDictionary<T,U>(NSDictionary<T, U> aDictionary)

Parameters:

  • aDictionary:

constructor (Int32)

 

constructor(aCapacity: Int32)

 

ImmutableDictionary<T,U>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

ImmutableDictionary<T,U>(Int32 aCapacity)

Parameters:

  • aCapacity:

constructor (Int32, nullable IEqualityComparer<T>)

 

constructor(aCapacity: Int32; aComparer: nullable IEqualityComparer<T>)

 

ImmutableDictionary<T,U>(Int32 aCapacity, IEqualityComparer<T>? aComparer)

 

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

 

ImmutableDictionary<T,U>(Int32 aCapacity, IEqualityComparer<T>? aComparer)

Parameters:

  • aCapacity:
  • aComparer:

constructor (not nullable ImmutableDictionary<T,U>)

 

constructor(aDictionary: not nullable ImmutableDictionary<T,U>)

 

ImmutableDictionary<T,U>(ImmutableDictionary<T,U>! aDictionary)

 

init(_ aDictionary: ImmutableDictionary<T,U>)

 

ImmutableDictionary<T,U>(ImmutableDictionary<T,U>! aDictionary)

Parameters:

  • aDictionary:

constructor (not nullable ImmutableDictionary<T,U>, nullable IEqualityComparer<T>)

 

constructor(aDictionary: not nullable ImmutableDictionary<T,U>; aComparer: nullable IEqualityComparer<T>)

 

ImmutableDictionary<T,U>(ImmutableDictionary<T,U>! aDictionary, IEqualityComparer<T>? aComparer)

 

init(_ aDictionary: ImmutableDictionary<T,U>, _ aComparer: IEqualityComparer<T>?)

 

ImmutableDictionary<T,U>(ImmutableDictionary<T,U>! aDictionary, IEqualityComparer<T>? aComparer)

Parameters:

  • aDictionary:
  • aComparer:

constructor (nullable IEqualityComparer<T>)

 

constructor(aComparer: nullable IEqualityComparer<T>)

 

ImmutableDictionary<T,U>(IEqualityComparer<T>? aComparer)

 

init(_ aComparer: IEqualityComparer<T>?)

 

ImmutableDictionary<T,U>(IEqualityComparer<T>? aComparer)

Parameters:

  • aComparer:

ContainsKey

 

method ContainsKey(Key: T): Boolean

 

Boolean ContainsKey(T Key)

 

func ContainsKey(_ Key: T) -> Boolean

 

Boolean ContainsKey(T Key)

Parameters:

  • Key:

ContainsValue

 

method ContainsValue(Value: U): Boolean

 

Boolean ContainsValue(U Value)

 

func ContainsValue(_ Value: U) -> Boolean

 

Boolean ContainsValue(U Value)

Parameters:

  • Value:

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

ForEach

 

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:

GetEnumerator  virtual

 

method GetEnumerator: IEnumerator<KeyValuePair<T, U>>

 

IEnumerator<KeyValuePair<T, U>> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<KeyValuePair<T, U>>

 

IEnumerator<KeyValuePair<T, U>> GetEnumerator()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetSequence

 

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

 

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

 

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

 

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

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

ToNSDictionary iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, UIKit for Mac, watchOS Simulator, watchOS-armv7k

 

method ToNSDictionary: NSDictionary<T, U>

 

NSDictionary<T, U> ToNSDictionary()

 

func ToNSDictionary() -> NSDictionary<T, U>

 

NSDictionary<T, U> ToNSDictionary()

ToNSMutableDictionary iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, UIKit for Mac, watchOS Simulator, watchOS-armv7k

 

method ToNSMutableDictionary: NSMutableDictionary<T, U>

 

NSMutableDictionary<T, U> ToNSMutableDictionary()

 

func ToNSMutableDictionary() -> NSMutableDictionary<T, U>

 

NSMutableDictionary<T, U> ToNSMutableDictionary()

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

TryGetValue

 

method TryGetValue(aKey: T; out aValue: U): Boolean

 

Boolean TryGetValue(T aKey, out U aValue)

 

func TryGetValue(_ aKey: T, _ aValue: U) -> Boolean

 

Boolean TryGetValue(T aKey, __out U aValue)

Parameters:

  • aKey:
  • aValue:

Descendants