Category: Language-Processes
Superclass: Object
I represent a proxy for thread-local variables defined for Smalltalk processes. Associations requested to me retrieve the thread-local value for the current process. For now, I don't provide the full protocol of a Dictionary; in particular the iteration protocol is absent.

Method category index

disabled (class)
singleton (class)
accessing (instance)
dictionary removing (instance)
dictionary testing (instance)

disabled (class)

new
This method should not be called for instances of this class.

top


singleton (class)

uniqueInstance
Return the singleton instance of ProcessEnvironment.

top


accessing (instance)

add: newObject
Add the newObject association to the receiver

associationAt: key

Answer the value associated to the given key, or the result of evaluating aBlock if the key is not found

associationAt: key ifAbsent: aBlock

Answer the value associated to the given key, or the result of evaluating aBlock if the key is not found

at: key

Answer the value associated to the given key. Return nil if the key is not found

at: key ifAbsent: aBlock

Answer the value associated to the given key, or the result of evaluating aBlock if the key is not found

at: key ifAbsentPut: aBlock

Answer the value associated to the given key, setting it to the result of evaluating aBlock if the key is not found.

at: key ifPresent: aBlock

Answer the value associated to the given key, or the result of evaluating aBlock if the key is not found

at: key put: value

Store value as associated to the given key

keys

Answer a kind of Set containing the keys of the receiver

top


dictionary removing (instance)

remove: anAssociation
Remove anAssociation's key from the dictionary

remove: anAssociation ifAbsent: aBlock

Remove anAssociation's key from the dictionary

removeAllKeys: keys

Remove all the keys in keys, without raising any errors

removeAllKeys: keys ifAbsent: aBlock

Remove all the keys in keys, passing the missing keys as parameters to aBlock as they're encountered

removeKey: aSymbol

Remove the aSymbol key from the dictionary

removeKey: aSymbol ifAbsent: aBlock

Remove the aSymbol key from the dictionary

top


dictionary testing (instance)

includesKey: key
Answer whether the receiver contains the given key

top