public class Scope
extends java.util.AbstractMap
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Scope.Info
Class to encapsulate and provide access to info about
the current scope for debugging.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.lang.Object |
owner |
| 构造器和说明 |
|---|
Scope(java.lang.Object owner,
java.lang.Object previous) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.Set |
entrySet() |
java.lang.Object |
get(java.lang.Object key) |
protected int |
getDepth()
Returns the number of control arguments of this type
that are stacked up.
|
Scope.Info |
getInfo()
Returns info about the current scope for debugging purposes.
|
Scope |
getParent()
Returns the parent control reference overridden by the placement
of this instance in the context.
|
java.lang.Object |
getReplaced()
Returns the user's context reference overridden by the placement
of this instance in the context.
|
Scope |
getTopmost()
Returns the topmost parent control reference, retrieved
by simple recursion on
getParent(). |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
protected void |
stop()
Allows #stop to easily trigger the proper StopCommand for this scope.
|
public java.util.Set entrySet()
entrySet 在接口中 java.util.MapentrySet 在类中 java.util.AbstractMappublic java.lang.Object get(java.lang.Object key)
get 在接口中 java.util.Mapget 在类中 java.util.AbstractMappublic java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put 在接口中 java.util.Mapput 在类中 java.util.AbstractMapprotected void stop()
protected int getDepth()
public Scope getTopmost()
getParent().public Scope getParent()
public java.lang.Object getReplaced()
getParent().public Scope.Info getInfo()