org.abora.gold.spaces.cross
Class GenericCrossSpace

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.spaces.basic.CoordinateSpace
                    |
                    +--org.abora.gold.spaces.cross.CrossSpace
                          |
                          +--org.abora.gold.spaces.cross.GenericCrossSpace

public class GenericCrossSpace
extends CrossSpace

Default implementation of cross coordinate space.
was NOT.A.TYPE but that prevented compilation


Field Summary
 
Fields inherited from class org.abora.gold.spaces.cross.CrossSpace
mySubSpaces
 
Fields inherited from class org.abora.gold.spaces.basic.CoordinateSpace
myAscending, myDescending, myEmptyRegion, myFullRegion, myIdentityDsp
 
Fields inherited from class org.abora.gold.xpp.basic.Heaper
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes
 
Fields inherited from class org.abora.gold.java.AboraHeaper
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag
 
Constructor Summary
GenericCrossSpace(PtrArray subSpaces)
           
 
Method Summary
 Mapping crossOfMappings(PtrArray subMappings)
          Essential.
 CrossOrderSpec crossOfOrderSpecs(PtrArray subOrderings, PrimIntArray subSpaceOrdering)
          Essential.
 Tuple crossOfPositions(PtrArray coordinates)
          Essential.
 CrossRegion crossOfRegions(PtrArray subRegions)
          Essential.
 CrossRegion extrusion(int dimension, XnRegion subRegion)
          Return a region whose projection is 'subRegion' along 'dimension', but is full on all
other dimensions
static Heaper make(PtrArray subSpaces)
          Make a cross space with the given list of subspaces
static Heaper make(Rcvr rcvr)
           
 void printOn(java.io.PrintWriter oo)
           
 void sendGenericCrossSpaceTo(Xmtr xmtr)
           
 void sendSelfTo(Xmtr xmtr)
          do nothing
 
Methods inherited from class org.abora.gold.spaces.cross.CrossSpace
actualHashForEqual, axes, axis, axisCount, count, crossOfMappings, crossOfOrderSpecs, crossOfOrderSpecs, info, intCount, isEqual, make, makeCrossMapping, makeCrossOrderSpec, makeCrossRegion, makeTuple, secretSubSpaces, subSpace, subSpaces
 
Methods inherited from class org.abora.gold.spaces.basic.CoordinateSpace
ascending, completeMapping, descending, emptyRegion, fetchAscending, fetchDescending, finishCreate, fullRegion, getAscending, getDescending, identityDsp, identityMapping, importMapping, importOrderSpec, importRegion, mapping, mapping, orderSpec, region, verify
 
Methods inherited from class org.abora.gold.xpp.basic.Heaper
abstractDeclarationFor, abstractTypeFor, addMethodAttributeToInOf, addPackage, addPackageCategory, allClientProtocolOn, argumentTypesFor, arrow, blast, blast, BLAST, cachePromiseNameTable, cachePromiseNameTableIn, canYouBecome, cast, cleanPromiseClasses, cleanupGarbage, clientClassesDo, clientFunctionsOn, clientMethodsOn, clientProtocol, clientProtocolDo, clientProtocolOn, clientProtocolOn, collectibleClasses, compare, compileClientSubclasses, compileConstantPromiseMethods, compileCreateFromRcvr, compileEQ, compileGeneratedClassMethod, compileGeneratedMethod, compileHook, compilePromise, compilePromiseDefaultMethods, compilePromiseFluidDeclarations, compilePromiseHandlers, compilePromiseMethods, compileRequestCreateMsgInArguments, compileRequestEvaluateMsgInReturningArguments, compileRPCSpecialistEvaluateMsgForReturningArguments, compileSendSelfTo, compileSendSelfToSendHook, compileStubbleMethods, compileSubclassStubbleMethods, computeMangle, computePreorder, constantTypeValue, convert, convertCopyDeclarations, convertDeferredDeclarations, convertProxyDeclarations, convertSubclassCopyDeclarations, convertSubclassDeferredDeclarations, convertSubclassProxyDeclarations, copyReferencesToType, create, create, create, create, create, create, create, create, create, create, createRequestClassArguments, definesProxyMethods, delete, deref, destroy, destruct, destructor, enum, enumFlags, equals, exportName, fetchAttribute, fetchPackage, fetchSuperCategory, fileOutClientProtocol, findCategory, findSenderAndReceiverMethods, findTailInto, flushPromiseNameTable, foo, freezeClientClasses, freezeClientProtocol, freezeStProtocol, frozenClasses, garbageCollect, garbageCollectFrom, gcOpportunity, gcOpportunity, generatedCategory, generatePromiseNames, getCategory, getOrMakePackage, getSuperCategory, handlerSignaturesFrom, hash, hashForEqual, hasProxyMethods, info_clientClasses, info_clientSideClasses, info_promiseClasses, info_stProtocol, inGC, initializedClasses, initializingClasses, initPackages, initStringHashSBoxes, inspectPieces, instanceSize, IntegerVar, isByProxy, isConstructed, isDestructed, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, isUnlocked, linkTimeNonInherited, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, PROBLEM, problems, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, serverNameFor, setGC, signal, signals, smalltalkSelector, stClientProtocol, stubbleSelectorTokenReturnsArguments, subclassNonCopyVariables, takeOop, togglePromiseName, togglePromiseOfParse, unimplemented, unmangle, verifyFreeze, wipeStubble
 
Methods inherited from class org.abora.gold.java.AboraHeaper
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericCrossSpace

public GenericCrossSpace(PtrArray subSpaces)
Method Detail

crossOfMappings

public Mapping crossOfMappings(PtrArray subMappings)
Description copied from class: CrossSpace
Essential. Map each coordinate according to the mapping from its space. NULLs mean 'use
the identity mapping'

Overrides:
crossOfMappings in class CrossSpace

crossOfOrderSpecs

public CrossOrderSpec crossOfOrderSpecs(PtrArray subOrderings,
                                        PrimIntArray subSpaceOrdering)
Description copied from class: CrossSpace
Essential. Make a lexical ordering of all elements in the space, using the given ordering
for each sub space. If no sub space ordering is given, then it is in the order they are in
the array.
subSpaceOrdering lists the lexicographic order in which each dimension should be
processed. Every dimension should be listed exactly one, from most significant (at index
0) to least significant.
subOrderings are indexed by *dimension*, not by lexicographic order. In order to index by
lex order, look up the dimension in subSpaceOrdering, and then look up the resulting
dimension number in subOrderings.

Overrides:
crossOfOrderSpecs in class CrossSpace

crossOfPositions

public Tuple crossOfPositions(PtrArray coordinates)
Description copied from class: CrossSpace
Essential. Make an individual position

Overrides:
crossOfPositions in class CrossSpace

crossOfRegions

public CrossRegion crossOfRegions(PtrArray subRegions)
Description copied from class: CrossSpace
Essential. Make a 'rectangular' region as a cross of all the given regions

Overrides:
crossOfRegions in class CrossSpace

extrusion

public CrossRegion extrusion(int dimension,
                             XnRegion subRegion)
Description copied from class: CrossSpace
Return a region whose projection is 'subRegion' along 'dimension', but is full on all
other dimensions

Overrides:
extrusion in class CrossSpace

printOn

public void printOn(java.io.PrintWriter oo)
Overrides:
printOn in class Heaper

sendGenericCrossSpaceTo

public void sendGenericCrossSpaceTo(Xmtr xmtr)

sendSelfTo

public void sendSelfTo(Xmtr xmtr)
Description copied from class: Heaper
do nothing

Overrides:
sendSelfTo in class Heaper

make

public static Heaper make(Rcvr rcvr)

make

public static Heaper make(PtrArray subSpaces)
Description copied from class: CrossSpace
Make a cross space with the given list of subspaces



Translation - Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.