Class KeyedStack<K, V>
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)
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()
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
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 SourceKeyedStack()
Declaration
public KeyedStack()
Methods
| Improve this Doc View SourceCount(K)
Declaration
public int Count(K key)
Parameters
Type | Name | Description |
---|---|---|
K | key |
Returns
Type | Description |
---|---|
Int32 |
Pop(K)
Declaration
public V Pop(K key)
Parameters
Type | Name | Description |
---|---|---|
K | key |
Returns
Type | Description |
---|---|
V |
Push(K, V)
Declaration
public void Push(K key, V value)
Parameters
Type | Name | Description |
---|---|---|
K | key | |
V | value |