Index - All Packages - All Categories - All Classes

Class BasicSpace

BasicSpace versus CoordinateSpace is not a type distinction in that there is no difference in contract with the client. BasicSpace exists as a convenience to the definer of new CoordinateSpaces. A new subclass of CoordinateSpace should be a subclass of BasicSpace iff there is only one coordinateSpace that corresponds to the new class. Ie., that the instances are not parameterized to yield different coordinate spaces. BasicSpace provides some conveniences (especially in Smalltalk) for defining a single canonical instance at dynamic initialization time, and always using it.

As this class is irrelevent to CoordinateSpace clients, but is useful to those defining other kinds of coordinate spaces, it is an exellent example of something that would be classified as a "protected" class--something to be persued if we try to make modules more like classes.

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

Class Methods

initTimeInherited


linkTimeInherited


suppressInitTimeInherited


suppressLinkTimeInherited



Instance Methods

actualHashForEqual

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

Overrides: CoordinateSpace

create: emptyRegion with: fullRegion with: identityDsp



Overrides: CoordinateSpace

create: emptyRegion with: fullRegion with: identityDsp with: ascending



Overrides: CoordinateSpace

create: emptyRegion with: fullRegion with: identityDsp with: ascending with: descending



Overrides: CoordinateSpace

isEqual: anObject

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

Overrides: CoordinateSpace


Index - All Packages - All Categories - All Classes