public class StackMap<K,V> extends CollectionMap<K,V,java.util.Stack<V>>
Constructor and Description |
---|
StackMap() |
Modifier and Type | Method and Description |
---|---|
V |
getAndRemove(java.lang.Object key) |
protected V |
getSingleElementFromCollection(java.util.Stack<V> collection) |
protected void |
removeSingleElementFromCollection(java.util.Stack<V> collection) |
clear, containsKey, containsValue, entrySet, get, getCollection, getOrDefault, isEmpty, keySet, put, putAll, remove, remove, removeAll, size, values
public V getAndRemove(java.lang.Object key)
protected void removeSingleElementFromCollection(java.util.Stack<V> collection)
removeSingleElementFromCollection
in class CollectionMap<K,V,java.util.Stack<V>>
protected V getSingleElementFromCollection(java.util.Stack<V> collection)
getSingleElementFromCollection
in class CollectionMap<K,V,java.util.Stack<V>>