- All Implemented Interfaces:
An single, scoped open variable set in which values can be set. All variable names are CASE-INSENSITIVE. The internals are written so that the storage uses few memory allocations/deletions. None of the variables are read-only. This implementation is thread-safe.
- Matthew Tropiano
Constructor SummaryConstructorDescriptionCreates a new default scope resolver with no added scopes.
Method SummaryModifier and TypeMethodDescription
voidAdds a scope to this scope resolver by name.
clear()Clears this scope resolver of all added scope mappings.
booleanChecks if this contains a scope by its scope name.Gets the corresponding scope for a scope name.
DefaultScopeResolverpublic DefaultScopeResolver()Creates a new default scope resolver with no added scopes.
addScopeAdds a scope to this scope resolver by name.
name- the name of the scope.
resolver- the resolver to resolve by that name.
clearpublic void clear()Clears this scope resolver of all added scope mappings.
getScopeDescription copied from interface:
ScriptScopeResolverGets the corresponding scope for a scope name.
containsScopepublic boolean containsScope
(String name)Description copied from interface:
ScriptScopeResolverChecks if this contains a scope by its scope name.