Index - All Packages - All Categories - All Classes
Class IntegerMapping
Transforms integers by adding a (possibly negative) offset. In addition to the Dsp protocol, an IntegerDsp will respond to "translation" with the offset that it is adding.
Old documentation indicated a possibility of a future upgrade of IntegerDsp which would also optionally reflect (or negate) its input in addition to offsetting. This would however be a non-upwards compatable change in that current clients already assume that the answer to "translation" fully describes the IntegerDsp. If such a possibility is introduced, it should be as a super-type of IntegerDsp, since it would have a weaker contract. Then compatability problems can be caught by the type checker.
Package: Udanax-Gold
All Superclasses: Object Heaper Mapping Dsp
Protocols: Object
Categories: Xanadu-Spaces-Integers