1 class:: EnvironmentRedirect
2 summary:: base class for environment redirects
3 categories:: Libraries>JITLib>Environments
4 related:: Classes/Environment
7 Environment that redirects access ( strong::put:: ) and assignment ( strong::at:: ).
12 create new redirect, if envir is given it is used.
14 subsection:: replacing Environment class methods
16 EnvironmentRedirect implements some of the interface of link::Classes/Environment::, which it can replace where needed.
18 method::push, pop, make, use
23 return or replace the source environment
25 subsection::redirecting objects
27 Overriding these methods, one can redirect where objects go when they are assigned to the space. This is done for example in link::Classes/LazyEnvir:: and link::Classes/ProxySpace::.
29 method::at, put, localPut, removeAt
31 subsection:: replacing Environment instance methods
33 EnvironmentRedirect implements some of the interface of link::Classes/Environment::, which it can replace where needed.
35 method::push, pop, make, use, do, clear, keysValuesDo, keysValuesArrayDo, findKeyForValue, sortedKeysValuesDo, choose, know, doesNotUnderstand
40 EnvironmentRedirect and its subclasses can be used to dispatch assignment over a network. To do this, a dispatch function can be supplied - see link::Classes/Public:: in strong::JITLibExtensions:: quark.