org.abora.gold.edgeregion
Class EdgeAccumulator

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.collection.steppers.Accumulator
                    |
                    +--org.abora.gold.edgeregion.EdgeAccumulator

public class EdgeAccumulator
extends Accumulator


Field Summary
protected  PtrArray myEdges
           
protected  int myIndex
           
protected  EdgeManager myManager
           
protected  TransitionEdge myPending
           
protected  boolean myResultGiven
           
protected  boolean myStartsInside
           
protected static InstanceCache SomeAccumulators
           
 
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
EdgeAccumulator(EdgeManager manager, boolean startsInside)
           
EdgeAccumulator(EdgeManager manager, boolean startsInside, PtrArray edges, int index, TransitionEdge pending)
           
EdgeAccumulator(Rcvr receiver)
           
 
Method Summary
 Accumulator copy()
          Return a new Accumulator just like the current one, except that
from now on they accumulate separately
 void destroy()
           
 void edge(TransitionEdge x)
          add a transition at the given position.
 void edges(EdgeStepper stepper)
          add a whole bunch of edges at once, assuming that they are sorted and there are no
duplicates
static void initTimeNonInherited()
           
static void linkTimeNonInherited()
           
static Heaper make(EdgeManager manager, boolean startsInside)
           
 XnRegion region()
          make a region out of the accumulated edges
 void restartEdgeAccumulator(Rcvr rcvr)
           
 void sendSelfTo(Xmtr xmtr)
          do nothing
 void step(Heaper someObj)
          Accumulate a new object into the Accumulator
 void storeStep(TransitionEdge edge)
          Just store an edge into the array and increment the count
 Heaper value()
          Return the object that results from accumulating all those objects
 
Methods inherited from class org.abora.gold.collection.steppers.Accumulator
actualHashForEqual, isEqual, ptrArray
 
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, 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, isEqual, 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

myManager

protected EdgeManager myManager

myStartsInside

protected boolean myStartsInside

myEdges

protected PtrArray myEdges

myIndex

protected int myIndex

myPending

protected TransitionEdge myPending

myResultGiven

protected boolean myResultGiven

SomeAccumulators

protected static InstanceCache SomeAccumulators
Constructor Detail

EdgeAccumulator

public EdgeAccumulator(EdgeManager manager,
                       boolean startsInside)

EdgeAccumulator

public EdgeAccumulator(EdgeManager manager,
                       boolean startsInside,
                       PtrArray edges,
                       int index,
                       TransitionEdge pending)

EdgeAccumulator

public EdgeAccumulator(Rcvr receiver)
Method Detail

copy

public Accumulator copy()
Description copied from class: Accumulator
Return a new Accumulator just like the current one, except that
from now on they accumulate separately

Overrides:
copy in class Accumulator

destroy

public void destroy()
Overrides:
destroy in class Heaper

step

public void step(Heaper someObj)
Description copied from class: Accumulator
Accumulate a new object into the Accumulator

Overrides:
step in class Accumulator

value

public Heaper value()
Description copied from class: Accumulator
Return the object that results from accumulating all those objects

Overrides:
value in class Accumulator

edge

public void edge(TransitionEdge x)
add a transition at the given position. doing it again cancels it


edges

public void edges(EdgeStepper stepper)
add a whole bunch of edges at once, assuming that they are sorted and there are no
duplicates


region

public XnRegion region()
make a region out of the accumulated edges


storeStep

public void storeStep(TransitionEdge edge)
Just store an edge into the array and increment the count


restartEdgeAccumulator

public void restartEdgeAccumulator(Rcvr rcvr)

sendSelfTo

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

Overrides:
sendSelfTo in class Heaper

initTimeNonInherited

public static void initTimeNonInherited()

linkTimeNonInherited

public static void linkTimeNonInherited()

make

public static Heaper make(EdgeManager manager,
                          boolean startsInside)


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