Show / Hide Table of Contents

    Class KeyedStack<K, V>

    Inheritance
    Object
    Dictionary<K, Stack<V>>
    KeyedStack<K, V>
    Implements
    IDictionary<K, Stack<V>>
    ICollection<KeyValuePair<K, Stack<V>>>
    IReadOnlyDictionary<K, Stack<V>>
    IReadOnlyCollection<KeyValuePair<K, Stack<V>>>
    IEnumerable<KeyValuePair<K, Stack<V>>>
    IDictionary
    ICollection
    IEnumerable
    IDeserializationCallback
    ISerializable
    Inherited Members
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.IDictionary.get_Item(System.Object)
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
    Dictionary<K, Stack<V>>.Add(K, Stack<V>)
    Dictionary<K, Stack<V>>.Clear()
    Dictionary<K, Stack<V>>.ContainsKey(K)
    Dictionary<K, Stack<V>>.ContainsValue(Stack<V>)
    Dictionary<K, Stack<V>>.GetEnumerator()
    Dictionary<K, Stack<V>>.GetObjectData(SerializationInfo, StreamingContext)
    Dictionary<K, Stack<V>>.OnDeserialization(Object)
    Dictionary<K, Stack<V>>.Remove(K)
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<K, System.Collections.Generic.Stack<V>>>.Add(System.Collections.Generic.KeyValuePair<K, System.Collections.Generic.Stack<V>>)
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<K, System.Collections.Generic.Stack<V>>>.Contains(System.Collections.Generic.KeyValuePair<K, System.Collections.Generic.Stack<V>>)
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<K, System.Collections.Generic.Stack<V>>>.CopyTo(System.Collections.Generic.KeyValuePair<K, System.Collections.Generic.Stack<V>>[], System.Int32)
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<K, System.Collections.Generic.Stack<V>>>.Remove(System.Collections.Generic.KeyValuePair<K, System.Collections.Generic.Stack<V>>)
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<K, System.Collections.Generic.Stack<V>>>.GetEnumerator()
    Dictionary<K, Stack<V>>.ICollection.CopyTo(Array, Int32)
    Dictionary<K, Stack<V>>.IDictionary.Add(Object, Object)
    Dictionary<K, Stack<V>>.IDictionary.Contains(Object)
    Dictionary<K, Stack<V>>.IDictionary.GetEnumerator()
    Dictionary<K, Stack<V>>.IDictionary.Remove(Object)
    Dictionary<K, Stack<V>>.IEnumerable.GetEnumerator()
    Dictionary<K, Stack<V>>.TryGetValue(K, Stack<V>)
    Dictionary<K, Stack<V>>.Comparer
    Dictionary<K, Stack<V>>.Count
    Dictionary<K, Stack<V>>.Item[K]
    Dictionary<K, Stack<V>>.Keys
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<K, System.Collections.Generic.Stack<V>>>.IsReadOnly
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.Generic.IDictionary<K, System.Collections.Generic.Stack<V>>.Keys
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.Generic.IDictionary<K, System.Collections.Generic.Stack<V>>.Values
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.Generic.IReadOnlyDictionary<K, System.Collections.Generic.Stack<V>>.Keys
    System.Collections.Generic.Dictionary<K, System.Collections.Generic.Stack<V>>.System.Collections.Generic.IReadOnlyDictionary<K, System.Collections.Generic.Stack<V>>.Values
    Dictionary<K, Stack<V>>.ICollection.IsSynchronized
    Dictionary<K, Stack<V>>.ICollection.SyncRoot
    Dictionary<K, Stack<V>>.IDictionary.IsFixedSize
    Dictionary<K, Stack<V>>.IDictionary.IsReadOnly
    Dictionary<K, Stack<V>>.IDictionary.Item[Object]
    Dictionary<K, Stack<V>>.IDictionary.Keys
    Dictionary<K, Stack<V>>.IDictionary.Values
    Dictionary<K, Stack<V>>.Values
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: P42.Utils
    Assembly: P42.Utils.dll
    Syntax
    public class KeyedStack<K, V> : Dictionary<K, Stack<V>>, IDictionary<K, Stack<V>>, ICollection<KeyValuePair<K, Stack<V>>>, IReadOnlyDictionary<K, Stack<V>>, IReadOnlyCollection<KeyValuePair<K, Stack<V>>>, IEnumerable<KeyValuePair<K, Stack<V>>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable where V : class
    Type Parameters
    Name Description
    K
    V

    Constructors

    | Improve this Doc View Source

    KeyedStack()

    Declaration
    public KeyedStack()

    Methods

    | Improve this Doc View Source

    Count(K)

    Declaration
    public int Count(K key)
    Parameters
    Type Name Description
    K key
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    Pop(K)

    Declaration
    public V Pop(K key)
    Parameters
    Type Name Description
    K key
    Returns
    Type Description
    V
    | Improve this Doc View Source

    Push(K, V)

    Declaration
    public void Push(K key, V value)
    Parameters
    Type Name Description
    K key
    V value

    Implements

    System.Collections.Generic.IDictionary<TKey,TValue>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IDictionary
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.Runtime.Serialization.IDeserializationCallback
    System.Runtime.Serialization.ISerializable

    Extension Methods

    DebugExtensions.AddToCensus(Object)
    DebugExtensions.RemoveFromCensus(Object)
    DictionaryExtensions.TryGetKey<TKey, TValue>(IDictionary<TKey, TValue>, TValue, out TKey)
    ICollectionExtensions.IsNullOrEmpty<T>(ICollection<T>)
    ICollectionExtensions.AddRange<T>(ICollection<T>, IEnumerable<T>)
    ICollectionExtensions.AddRange<T, Q>(IDictionary<T, Q>, IDictionary<T, Q>)
    IEnumerableExtensions.Contains(IEnumerable, Object)
    ReflectionExtensions.GetProperties(Object)
    ReflectionExtensions.GetProperty(Object, String)
    ReflectionExtensions.PropertyNames(Object)
    ReflectionExtensions.PropertyExists(Object, String)
    ReflectionExtensions.HasProperty(Object, String)
    ReflectionExtensions.GetPropertyValue(Object, String)
    ReflectionExtensions.SetPropertyValue(Object, String, Object)
    ReflectionExtensions.GetFieldValue(Object, String)
    ReflectionExtensions.SetFieldValue(Object, String, Object)
    ReflectionExtensions.CallMethod(Object, String, Object[])
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 42nd Parallel