org.abora.gold.tumbler
Class SequenceSpace

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.spaces.basic.CoordinateSpace
                    |
                    +--org.abora.gold.tumbler.SequenceSpace

public class SequenceSpace
extends CoordinateSpace

The space of all Sequences


Field Summary
protected static SequenceSpace TheSequenceSpace
           
 
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
SequenceSpace()
           
 
Method Summary
 SequenceRegion above(Sequence sequence, boolean inclusive)
          Essential.
 int actualHashForEqual()
          is equal to any basic space on the same category of positions
 SequenceRegion below(Sequence sequence, boolean inclusive)
          Essential.
static SequenceSpace implicitReceiver()
          Get the receiver for wire requests.
static void info()
          {SequenceRegion CLIENT} above: sequence {Sequence} with: inclusive {BooleanVar}
{SequenceRegion CLIENT} below: sequence {Sequence} with: inclusive {BooleanVar}
{SequenceRegion CLIENT} interval: lower {Region} with: upper {Sequence}
{SequenceMapping CLIENT} mapping: shift {IntegerVar} with: translation {Sequence}
{Sequence CLIENT} position: numbers {PrimIntegerArray}
{Sequence CLIENT} position: numbers {PrimIntegerArray | NULL} with: shift {IntegerVar |
IntegerVarZero}
{SequenceRegion CLIENT} prefixedBy: sequence {Sequence} with: limit {IntegerVar}
static void initTimeNonInherited()
           
 SequenceRegion interval(Sequence start, Sequence stop)
          Return a region of all sequence >= lower and < upper.
 boolean isEqual(Heaper anObject)
          is equal to any basic space on the same category of positions
static void linkTimeNonInherited()
           
static Heaper make()
           
static Heaper make(Rcvr rcvr)
           
 SequenceMapping mapping(IntegerVar shift)
          A transformation which shifts a value by some number of places and then adds a translation
to it.
 SequenceMapping mapping(IntegerVar shift, Sequence translation)
          A transformation which shifts a value by some number of places and then adds a translation
to it.
 Sequence position(PrimArray numbers)
           
 Sequence position(PrimArray arg, IntegerVar shift)
          Essential.
 SequenceRegion prefixedBy(Sequence sequence, IntegerVar limit)
          Essential.
 void sendSelfTo(Xmtr xmtr)
          do nothing
 Sequence sequence(PrimIntegerArray numbers, IntegerVar shift)
           
 SequenceRegion sequencesAfter(Sequence sequence)
          Essential.
 SequenceRegion sequencesBefore(Sequence sequence)
          Essential.
 SequenceRegion sequencesPrefixedBy(Sequence sequence, IntegerVar limit)
          Essential.
 SequenceMapping shiftAndTranslation()
           
 SequenceDsp shiftAndTranslation(IntegerVar shift)
           
 SequenceDsp shiftAndTranslation(IntegerVar shift, Sequence translation)
           
 
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, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, printOn, 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

TheSequenceSpace

protected static SequenceSpace TheSequenceSpace
Constructor Detail

SequenceSpace

public SequenceSpace()
Method Detail

position

public Sequence position(PrimArray numbers)

above

public SequenceRegion above(Sequence sequence,
                            boolean inclusive)
Essential. All sequences >= sequence if inclusive, > sequence if not.


below

public SequenceRegion below(Sequence sequence,
                            boolean inclusive)
Essential. All sequences <= sequence if inclusive, < sequence if not.


interval

public SequenceRegion interval(Sequence start,
                               Sequence stop)
Return a region of all sequence >= lower and < upper.


mapping

public SequenceMapping mapping(IntegerVar shift,
                               Sequence translation)
A transformation which shifts a value by some number of places and then adds a translation
to it.


position

public Sequence position(PrimArray arg,
                         IntegerVar shift)
Essential. A sequence using the given numbers and shift. Leading and trailing zeros will
be stripped, and a copy will be made so that noone modifies it


prefixedBy

public SequenceRegion prefixedBy(Sequence sequence,
                                 IntegerVar limit)
Essential. All sequences which match the given one up to and including the given index.


sequence

public Sequence sequence(PrimIntegerArray numbers,
                         IntegerVar shift)

sequencesAfter

public SequenceRegion sequencesAfter(Sequence sequence)
Essential. All sequences greater than or equal to the given sequence.
Should this just be supplanted by CoordinateSpace::region ()?


sequencesBefore

public SequenceRegion sequencesBefore(Sequence sequence)
Essential. All sequences less than or equal to the given sequence.
Should this just be supplanted by CoordinateSpace::region ()?


sequencesPrefixedBy

public SequenceRegion sequencesPrefixedBy(Sequence sequence,
                                          IntegerVar limit)
Essential. All sequences which match the given one up to and including the given index.
Should this just be supplanted by CoordinateSpace::region ()?


shiftAndTranslation

public SequenceMapping shiftAndTranslation()

shiftAndTranslation

public SequenceDsp shiftAndTranslation(IntegerVar shift)

shiftAndTranslation

public SequenceDsp shiftAndTranslation(IntegerVar shift,
                                       Sequence translation)

actualHashForEqual

public int actualHashForEqual()
is equal to any basic space on the same category of positions

Overrides:
actualHashForEqual in class CoordinateSpace

isEqual

public boolean isEqual(Heaper anObject)
is equal to any basic space on the same category of positions

Overrides:
isEqual in class CoordinateSpace

mapping

public SequenceMapping mapping(IntegerVar shift)
A transformation which shifts a value by some number of places and then adds a translation
to it.


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)

implicitReceiver

public static SequenceSpace implicitReceiver()
Get the receiver for wire requests.


make

public static Heaper make()

initTimeNonInherited

public static void initTimeNonInherited()

linkTimeNonInherited

public static void linkTimeNonInherited()

info

public static void info()
{SequenceRegion CLIENT} above: sequence {Sequence} with: inclusive {BooleanVar}
{SequenceRegion CLIENT} below: sequence {Sequence} with: inclusive {BooleanVar}
{SequenceRegion CLIENT} interval: lower {Region} with: upper {Sequence}
{SequenceMapping CLIENT} mapping: shift {IntegerVar} with: translation {Sequence}
{Sequence CLIENT} position: numbers {PrimIntegerArray}
{Sequence CLIENT} position: numbers {PrimIntegerArray | NULL} with: shift {IntegerVar |
IntegerVarZero}
{SequenceRegion CLIENT} prefixedBy: sequence {Sequence} with: limit {IntegerVar}



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