net.cscott.jutil
public interface Environment<K,V> extends Map<K,V>
Environment
is a Map
with scoping:
you can save marks into the environment and undo all changes
since a mark.
Version: $Id: Environment.java,v 1.1 2003/03/20 01:58:20 cananian Exp $
Nested Class Summary | |
---|---|
static interface | Environment.Mark A abstract property for marks into an environment. |
Method Summary | |
---|---|
Environment.Mark | getMark() Get a mark that will allow you to restore the current state of
this environment. |
void | undoToMark(Environment.Mark m) Undo all changes since the supplied mark, restoring the map to
its state at the time the mark was taken. |