Package eu.bandm.tools.ops
Class MapStack<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
eu.bandm.tools.ops.MapStack<K,V>
- All Implemented Interfaces:
Map<K,
V>
A map implementation where modifications can be undone in reverse order.
This map implementation does not support null values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MapStack
public MapStack() -
MapStack
-
-
Method Details
-
entrySet
-
get
-
put
-
remove
-
pop
public void pop()Undo the most recent modification.- See Also:
-