Index - All Packages - All Categories - All Classes

Class IntegerSpace

The space of all integers. See the class comments in IntegerRegion, XuInteger, and IntegerDsp for interesting properties of this space. Especially IntegerRegion.

IntegerSpaces are the most frequently used of the coordinate spaces. XuArrays are an efficient data structure which we provide as a table whose domain space is an integer space. In so doing, the notion of an array is made to be simply a particular case of a table indexed by the positions of a coordinate space. However, IntegerSpaces and XuArrays are both expected to be more efficient than other spaces and tables built on other spaces. See XuArray

Package: Udanax-Gold
All Superclasses: Object Heaper CoordinateSpace
Protocols: Object
Categories: Xanadu-Spaces-Integers

Class Methods

implicitReceiver

Get the receievr for wire requests.

infostProtocol



Overrides: CoordinateSpace class

initTimeNonInherited


linkTimeNonInherited


make

return the one integer space

makeRcvr: rcvr



Instance Methods

above: start with: inclusive

Essential. Make a region that contains all integers greater than (or equal if inclusive is true) to start.

actualHashForEqual

is equal to any basic space on the same category of positions

Overrides: CoordinateSpace

below: stop with: inclusive

Make a region that contains all integers less than (or equal if inclusive is true) to stop.

create



Overrides: CoordinateSpace

integer: value


interval: start with: stop

Make a region that contains all integers greater than or equal to start and less than stop.

isEqual: anObject

is equal to any basic space on the same category of positions

Overrides: CoordinateSpace

position: value

Essential. Make an integer Position object

sendSelfTo: xmtr


translation: value

Essential. Make a Mapping which adds a fixed amount to any value.
Should this just be supplanted by CoordinateSpace::mapping ()?


Index - All Packages - All Categories - All Classes