Skip to main content

IConcurrentDictionary_2Methods

Trait IConcurrentDictionary_2Methods 

Source
pub trait IConcurrentDictionary_2Methods<T0: ClassIdentity, T1: ClassIdentity>: ClassIdentity {
Show 44 methods // Provided methods fn is_value_write_atomic() -> bool { ... } fn ctor(self) where Self: Sized { ... } fn ctor_2( self, concurrency_level: i32, capacity: i32, grow_lock_array: bool, comparer: IEqualityComparer_1_Interface<T0>, ) where Self: Sized { ... } fn try_add(self, key: T0, value: T1) -> bool where Self: Sized { ... } fn contains_key(self, key: T0) -> bool where Self: Sized { ... } fn try_remove(self, key: T0) -> (bool, T1) where Self: Sized { ... } fn try_remove_internal( self, key: T0, match_value: bool, old_value: T1, ) -> (bool, T1) where Self: Sized { ... } fn try_get_value(self, key: T0) -> (bool, T1) where Self: Sized { ... } fn try_get_value_internal(self, key: T0, hashcode: i32) -> (bool, T1) where Self: Sized { ... } fn clear(self) where Self: Sized { ... } fn copy_to_pairs(self, array: Array<KeyValuePair_2<T0, T1>>, index: i32) where Self: Sized { ... } fn copy_to_entries(self, array: Array<DictionaryEntry>, index: i32) where Self: Sized { ... } fn copy_to_objects(self, array: Array<Object>, index: i32) where Self: Sized { ... } fn get_enumerator(self) -> IEnumerator_1<KeyValuePair_2<T0, T1>> where Self: Sized { ... } fn try_add_internal( self, key: T0, hashcode: i32, value: T1, update_if_exists: bool, acquire_lock: bool, ) -> (bool, T1) where Self: Sized { ... } fn set_item(self, key: T0, value: T1) where Self: Sized { ... } fn throw_key_null_exception() { ... } fn get_count(self) -> i32 where Self: Sized { ... } fn get_count_internal(self) -> i32 where Self: Sized { ... } fn get_or_add(self, key: T0, value_factory: Func_2<T0, T1>) -> T1 where Self: Sized { ... } fn get_keys(self) -> ICollection_1<T0> where Self: Sized { ... } fn get_values(self) -> ICollection_1<T1> where Self: Sized { ... } fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator where Self: Sized { ... } fn system_collections_i_dictionary_add(self, key: Object, value: Object) where Self: Sized { ... } fn system_collections_i_dictionary_contains(self, key: Object) -> bool where Self: Sized { ... } fn system_collections_i_dictionary_get_enumerator( self, ) -> IDictionaryEnumerator where Self: Sized { ... } fn system_collections_i_dictionary_get_is_fixed_size(self) -> bool where Self: Sized { ... } fn system_collections_i_dictionary_get_is_read_only(self) -> bool where Self: Sized { ... } fn system_collections_i_dictionary_get_keys(self) -> ICollection where Self: Sized { ... } fn system_collections_i_dictionary_remove(self, key: Object) where Self: Sized { ... } fn system_collections_i_dictionary_get_values(self) -> ICollection where Self: Sized { ... } fn system_collections_i_dictionary_get_item(self, key: Object) -> Object where Self: Sized { ... } fn system_collections_i_dictionary_set_item( self, key: Object, value: Object, ) where Self: Sized { ... } fn system_collections_i_collection_copy_to( self, array: IlInstance, index: i32, ) where Self: Sized { ... } fn system_collections_i_collection_get_is_synchronized(self) -> bool where Self: Sized { ... } fn system_collections_i_collection_get_sync_root(self) -> Object where Self: Sized { ... } fn grow_table(self, tables: ConcurrentDictionary_2_Tables<T0, T1>) where Self: Sized { ... } fn get_bucket(hashcode: i32, bucket_count: i32) -> i32 { ... } fn get_bucket_and_lock_no( hashcode: i32, bucket_count: i32, lock_count: i32, ) -> ((), i32, i32) { ... } fn get_default_concurrency_level() -> i32 { ... } fn acquire_all_locks(self) -> ((), i32) where Self: Sized { ... } fn acquire_locks(self, from_inclusive: i32, to_exclusive: i32) -> ((), i32) where Self: Sized { ... } fn release_locks(self, from_inclusive: i32, to_exclusive: i32) where Self: Sized { ... } fn cctor() { ... }
}

Provided Methods§

Source

fn is_value_write_atomic() -> bool

Source

fn ctor(self)
where Self: Sized,

Source

fn ctor_2( self, concurrency_level: i32, capacity: i32, grow_lock_array: bool, comparer: IEqualityComparer_1_Interface<T0>, )
where Self: Sized,

Source

fn try_add(self, key: T0, value: T1) -> bool
where Self: Sized,

Source

fn contains_key(self, key: T0) -> bool
where Self: Sized,

Source

fn try_remove(self, key: T0) -> (bool, T1)
where Self: Sized,

Source

fn try_remove_internal( self, key: T0, match_value: bool, old_value: T1, ) -> (bool, T1)
where Self: Sized,

Source

fn try_get_value(self, key: T0) -> (bool, T1)
where Self: Sized,

Source

fn try_get_value_internal(self, key: T0, hashcode: i32) -> (bool, T1)
where Self: Sized,

Source

fn clear(self)
where Self: Sized,

Source

fn copy_to_pairs(self, array: Array<KeyValuePair_2<T0, T1>>, index: i32)
where Self: Sized,

Source

fn copy_to_entries(self, array: Array<DictionaryEntry>, index: i32)
where Self: Sized,

Source

fn copy_to_objects(self, array: Array<Object>, index: i32)
where Self: Sized,

Source

fn get_enumerator(self) -> IEnumerator_1<KeyValuePair_2<T0, T1>>
where Self: Sized,

Source

fn try_add_internal( self, key: T0, hashcode: i32, value: T1, update_if_exists: bool, acquire_lock: bool, ) -> (bool, T1)
where Self: Sized,

Source

fn set_item(self, key: T0, value: T1)
where Self: Sized,

Source

fn throw_key_null_exception()

Source

fn get_count(self) -> i32
where Self: Sized,

Source

fn get_count_internal(self) -> i32
where Self: Sized,

Source

fn get_or_add(self, key: T0, value_factory: Func_2<T0, T1>) -> T1
where Self: Sized,

Source

fn get_keys(self) -> ICollection_1<T0>
where Self: Sized,

Source

fn get_values(self) -> ICollection_1<T1>
where Self: Sized,

Source

fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
where Self: Sized,

Source

fn system_collections_i_dictionary_add(self, key: Object, value: Object)
where Self: Sized,

Source

fn system_collections_i_dictionary_contains(self, key: Object) -> bool
where Self: Sized,

Source

fn system_collections_i_dictionary_get_enumerator(self) -> IDictionaryEnumerator
where Self: Sized,

Source

fn system_collections_i_dictionary_get_is_fixed_size(self) -> bool
where Self: Sized,

Source

fn system_collections_i_dictionary_get_is_read_only(self) -> bool
where Self: Sized,

Source

fn system_collections_i_dictionary_get_keys(self) -> ICollection
where Self: Sized,

Source

fn system_collections_i_dictionary_remove(self, key: Object)
where Self: Sized,

Source

fn system_collections_i_dictionary_get_values(self) -> ICollection
where Self: Sized,

Source

fn system_collections_i_dictionary_get_item(self, key: Object) -> Object
where Self: Sized,

Source

fn system_collections_i_dictionary_set_item(self, key: Object, value: Object)
where Self: Sized,

Source

fn system_collections_i_collection_copy_to(self, array: IlInstance, index: i32)
where Self: Sized,

Source

fn system_collections_i_collection_get_is_synchronized(self) -> bool
where Self: Sized,

Source

fn system_collections_i_collection_get_sync_root(self) -> Object
where Self: Sized,

Source

fn grow_table(self, tables: ConcurrentDictionary_2_Tables<T0, T1>)
where Self: Sized,

Source

fn get_bucket(hashcode: i32, bucket_count: i32) -> i32

Source

fn get_bucket_and_lock_no( hashcode: i32, bucket_count: i32, lock_count: i32, ) -> ((), i32, i32)

Source

fn get_default_concurrency_level() -> i32

Source

fn acquire_all_locks(self) -> ((), i32)
where Self: Sized,

Source

fn acquire_locks(self, from_inclusive: i32, to_exclusive: i32) -> ((), i32)
where Self: Sized,

Source

fn release_locks(self, from_inclusive: i32, to_exclusive: i32)
where Self: Sized,

Source

fn cctor()

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§