Package org.dwcj.environment.namespace
Interface Namespace
- All Known Implementing Classes:
GlobalNamespace,GroupNamespace,PrivateNamespace,SessionNamespace,StandardNamespace
public interface Namespace
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Delete all variables in this namespaceretrieve a variable from the namespacekeySet()list all variables in this namespacevoidPut a variable in the namespacevoidremove a variable from the namespaceintsize()Get the variable count in this namespace.
-
Method Details
-
put
Put a variable in the namespace- Parameters:
key- the variable namevalue- the variable contents- Throws:
NamespaceVarableLockedException
-
get
retrieve a variable from the namespace- Parameters:
key- the variable name- Returns:
- the variable content
- Throws:
NoSuchElementException
-
remove
remove a variable from the namespace- Parameters:
key- the variable name- Throws:
NamespaceVarableLockedException
-
keySet
list all variables in this namespace- Returns:
- a Set with all the names
-
size
int size()Get the variable count in this namespace.- Returns:
- the count of variables / objects
-
clear
void clear()Delete all variables in this namespace
-