Package org.glassfish.pfl.basic.contain
Class Display<K,V>
java.lang.Object
org.glassfish.pfl.basic.contain.Display<K,V>
- Type Parameters:
K
- The type of the KeyV
- The type of the Value
Supports a Display as typically found in Lexical scoping.
Upon entering a scope, a new environment is available for
binding keys to values. Exiting a scope remove the top-most
environment. Lookup searches from the top down to find the
value for the first matching key.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
display
-
-
Constructor Details
-
Display
public Display()
-
-
Method Details
-
enterScope
public void enterScope() -
exitScope
public void exitScope() -
bind
-
bind
-
lookup
-