Click or drag to resize

BaseMapTK, TV Class

Base for dictionaries that contain extended functionality.
Inheritance Hierarchy
SystemObject
  com.espertech.esper.compat.collectionsBaseMapTK, TV
    com.espertech.esper.compat.collectionsHashMapTK, TV

Namespace:  com.espertech.esper.compat.collections
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
[SerializableAttribute]
public class BaseMap<TK, TV> : IDictionary, 
	ICollection, IEnumerable, IEnumerable

Type Parameters

TK
TV

The BaseMapTK, TV type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodAdd(KeyValuePairTKey, TValue)
Public methodAdd(TK, TV)
Public methodStatic memberAsEDictionary
Public methodClear
Public methodContains
Public methodContainsKey
Public methodCopyTo
Public methodEquals
Determines whether the specified Object is equal to the current Object.
Public methodGet(TK)
Fetches the value associated with the specified key. If no value can be found, then default(V) is returned.
Public methodGet(TK, TV)
Fetches the value associated with the specified key. If no value can be found, then the defaultValue is returned.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
Public methodPush
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.
Public methodPut
Sets the given key in the dictionary. If the key already exists, then it is remapped to thenew value.
Public methodPutAll
Public methodRemove(KeyValuePairTKey, TValue)
Public methodRemove(TK)
Public methodRemove(TK, TV)
Removes the item from the dictionary that is associated with the specified key. Returns the value that was found at that location and removed or the defaultValue.
Public methodRemoveAndReturn
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.
Public methodToString
Returns a String that represents the current Object.
Public methodTryGetValue
Tries the get value.
Top
Extension Methods
  NameDescription
Public Extension MethodAddAllT (Defined by CompatExtensions.)
Public Extension MethodAsHashSetT (Defined by CompatExtensions.)
Public Extension MethodAsLinkedListT (Defined by CompatExtensions.)
Public Extension MethodAsReadOnlyCollectionT (Defined by CompatExtensions.)
Public Extension MethodAsSyncCollectionT (Defined by CompatExtensions.)
Public Extension MethodAtIndex(Int32)Overloaded.
Gets the item at the nth index of the enumerable.
(Defined by CompatExtensions.)
Public Extension MethodAtIndex(Int32, FuncT, TResult)Overloaded. (Defined by CompatExtensions.)
Public Extension MethodCheckedContainsT (Defined by Collections.)
Public Extension MethodCheckedContainsKeyTK, TV (Defined by Collections.)
Public Extension MethodContainsAllT (Defined by CompatExtensions.)
Public Extension MethodDeleteK, V (Defined by DictionaryExtensions.)
Public Extension MethodEnumerateWithLookaheadT (Defined by CompatExtensions.)
Public Extension MethodFirstValueK, V (Defined by DictionaryExtensions.)
Public Extension MethodForT (Defined by CompatExtensions.)
Public Extension MethodGetK, V (Defined by DictionaryExtensions.)
Public Extension MethodHasFirstT (Defined by CompatExtensions.)
Public Extension MethodIsT, TX (Defined by CompatExtensions.)
Public Extension MethodIsEmptyT (Defined by CompatExtensions.)
Public Extension MethodIsEmptyOrNullT (Defined by CompatExtensions.)
Public Extension MethodIsNotEmptyT (Defined by CompatExtensions.)
Public Extension MethodMaterializeArrayT (Defined by CompatExtensions.)
Public Extension MethodPushK, V (Defined by DictionaryExtensions.)
Public Extension MethodPutK, V (Defined by DictionaryExtensions.)
Public Extension MethodPutAllK, V(Boolean)Overloaded. (Defined by DictionaryExtensions.)
Public Extension MethodPutAllK, V, T(Boolean, K)Overloaded. (Defined by DictionaryExtensions.)
Public Extension MethodPutIfAbsentK, V (Defined by DictionaryExtensions.)
Public Extension MethodRemoveAllT (Defined by CompatExtensions.)
Public Extension MethodRender(TextWriter)Overloaded.
Renders an enumerable source
(Defined by CompatExtensions.)
Public Extension MethodRender(FuncT, TResult)Overloaded. (Defined by CompatExtensions.)
Public Extension MethodRenderTK, TV(Void)Overloaded. (Defined by CompatExtensions.)
Public Extension MethodReverseT (Defined by CompatExtensions.)
Public Extension MethodSecondT (Defined by CompatExtensions.)
Public Extension MethodToArrayOrNullT (Defined by CompatExtensions.)
Public Extension MethodToListOrNullT (Defined by CompatExtensions.)
Public Extension MethodTryPushK, V (Defined by DictionaryExtensions.)
Public Extension MethodTryPutIfAbsentK, V (Defined by DictionaryExtensions.)
Public Extension MethodTryRemoveK, V (Defined by DictionaryExtensions.)
Top
See Also