![]() | ReferenceMapTKey, TValue Class |
[Missing <summary> documentation for "T:com.espertech.esper.compat.collections.ReferenceMap`2"]
Namespace: com.espertech.esper.compat.collections
public sealed class ReferenceMap<TKey, TValue> : IDictionary, ICollection, IEnumerable, IEnumerable where TKey : class where TValue : class
[Missing <typeparam name="TKey"/> documentation for "T:com.espertech.esper.compat.collections.ReferenceMap`2"]
[Missing <typeparam name="TValue"/> documentation for "T:com.espertech.esper.compat.collections.ReferenceMap`2"]
The ReferenceMapTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
![]() | ReferenceMapTKey, TValue(ReferenceType, ReferenceType) |
Initializes a new instance of the ReferenceMapTKey, TValue class.
|
![]() | ReferenceMapTKey, TValue(Int32, ReferenceType, ReferenceType) |
Initializes a new instance of the ReferenceMapTKey, TValue class.
|
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of elements contained in the ICollectionT.
|
![]() | FirstValue |
Returns the first value in the enumeration of values
|
![]() | IsReadOnly |
Gets a value indicating whether the ICollectionT is read-only.
|
![]() | Item |
Gets or sets the item with the specified key.
|
![]() | Keys |
Gets an ICollectionT containing the keys of the IDictionaryTKey, TValue.
|
![]() | KeysEnum |
Gets an enumerator that enumerates the keys.
|
![]() | Values |
Gets an ICollectionT containing the values in the IDictionaryTKey, TValue.
|
Name | Description | |
---|---|---|
![]() | Add(KeyValuePairTKey, TValue) | |
![]() | Add(TKey, TValue) |
Adds an element with the provided key and value to the IDictionaryTKey, TValue.
|
![]() | Clear |
Removes all items from the ICollectionT.
|
![]() | Contains | |
![]() | ContainsKey |
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
|
![]() | CopyTo | |
![]() | Get(TKey) |
Fetches the value associated with the specified key.
If no value can be found, then default(V) is returned.
|
![]() | Get(TKey, TValue) |
Fetches the value associated with the specified key.
If no value can be found, then the defaultValue is
returned.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | Prune |
Removes all 'dead' references that have been added to the
prune list.
|
![]() | Purge |
Removes the left-over weak references for entries in the dictionary
whose key or value has already been reclaimed by the garbage
collector. This will reduce the dictionary's Count by the number
of dead key-value pairs that were eliminated.
|
![]() | Push |
Sets the given key in the dictionary. If the key
already exists, then it is remapped to the new value.
If a value was previously mapped it is returned.
|
![]() | Put |
Sets the given key in the dictionary. If the key
already exists, then it is remapped to thenew value.
|
![]() | PutAll | |
![]() | Remove(KeyValuePairTKey, TValue) | |
![]() | Remove(TKey) |
Removes the element with the specified key from the IDictionaryTKey, TValue.
|
![]() | Remove(TKey, TValue) |
Removes the item from the dictionary that is associated with
the specified key.
|
![]() | RemoveAndReturn |
Removes the item from the dictionary that is associated with
the specified key. The item if found is returned; if not,
default(V) is returned.
|
![]() | TryGetValue |
Tries the get value.
|