The classes IApplicator and IConstantApplicator
define the interface for applicator objects. The redefinition of the function
applyTo()
defines the actions that are performed with the version of allElementsDo() that takes an
applicator argument. Iteration stops when applyTo() returns false.
This functions applies a series of specified statements or a function to all elements of a collection for which you use
the applicator. For example, myCollection.allElementsDo(myApplicator); causes the code in the applyTo() function
that you code for your applicator object myApplicator to be applied to all elements of the collection myCollection.