org.abora.gold.spaces.integers
Class IntegerArrangement

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.arrange.Arrangement
                    |
                    +--org.abora.gold.spaces.integers.IntegerArrangement

public class IntegerArrangement
extends Arrangement


Field Summary
protected  OrderSpec myOrdering
           
protected  IntegerRegion myRegion
           
 
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
IntegerArrangement(Rcvr receiver)
           
IntegerArrangement(XnRegion region, OrderSpec ordering)
           
 
Method Summary
 int actualHashForEqual()
           
 void copyElements(PrimArray toArray, Dsp toDsp, PrimArray fromArray, Arrangement fromArrange, XnRegion fromRegion)
          Copy elements into toArray arranged according to the receiver.
Copy them from fromArray arranged according to fromArrange.
The source region is fromRegion.
 int hashForEqual()
           
 IntegerVar indexOf(Position position)
          Return the index of position into my Region according to my OrderSpec.
 IntegerRegion indicesOf(XnRegion region)
          Return the region of all the indices corresponding to positions in region.
 boolean isEqual(Heaper other)
          Return true if the two objects are equal.
 XnRegion keysOf(int start, int stop)
          Return the region that corresponds to a range of indices.
static Heaper make(XnRegion region, OrderSpec ordering)
           
 OrderSpec ordering()
           
 void printOn(java.io.PrintWriter oo)
           
 XnRegion region()
          The region of positions in the arrangement
 void sendSelfTo(Xmtr xmtr)
          do nothing
 
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, 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
 

Field Detail

myOrdering

protected OrderSpec myOrdering

myRegion

protected IntegerRegion myRegion
Constructor Detail

IntegerArrangement

public IntegerArrangement(XnRegion region,
                          OrderSpec ordering)

IntegerArrangement

public IntegerArrangement(Rcvr receiver)
Method Detail

copyElements

public void copyElements(PrimArray toArray,
                         Dsp toDsp,
                         PrimArray fromArray,
                         Arrangement fromArrange,
                         XnRegion fromRegion)
Description copied from class: Arrangement
Copy elements into toArray arranged according to the receiver.
Copy them from fromArray arranged according to fromArrange.
The source region is fromRegion. It gets tranformed by toDsp
into the toArray.

Overrides:
copyElements in class Arrangement

indexOf

public IntegerVar indexOf(Position position)
Return the index of position into my Region according to my OrderSpec.

Overrides:
indexOf in class Arrangement

indicesOf

public IntegerRegion indicesOf(XnRegion region)
Return the region of all the indices corresponding to positions in region.

Overrides:
indicesOf in class Arrangement

keysOf

public XnRegion keysOf(int start,
                       int stop)
Return the region that corresponds to a range of indices.

Overrides:
keysOf in class Arrangement

ordering

public OrderSpec ordering()

region

public XnRegion region()
Description copied from class: Arrangement
The region of positions in the arrangement

Overrides:
region in class Arrangement

printOn

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

actualHashForEqual

public int actualHashForEqual()
Overrides:
actualHashForEqual in class Arrangement

hashForEqual

public int hashForEqual()
Overrides:
hashForEqual in class Heaper

isEqual

public boolean isEqual(Heaper other)
Description copied from class: Heaper
Return true if the two objects are equal.

Overrides:
isEqual in class Heaper

sendSelfTo

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

Overrides:
sendSelfTo in class Arrangement

make

public static Heaper make(XnRegion region,
                          OrderSpec ordering)


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