org.abora.gold.collection.settable
Class TableEntry

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.collection.settable.TableEntry
Direct Known Subclasses:
HashIndexEntry, HeaperAsEntry, IndexEntry, PositionEntry

public class TableEntry
extends Heaper


Field Summary
protected  TableEntry myNext
           
protected  Heaper myValue
           
 
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
TableEntry(Heaper value)
           
TableEntry(Rcvr receiver)
           
TableEntry(TableEntry next, Heaper value)
           
 
Method Summary
 int actualHashForEqual()
           
static TableStepper bucketStepper(SharedPtrArray array)
           
 TableEntry copy()
           
 void destroy()
          temporarily don't destroy.
 TableEntry fetchNext()
           
 IntegerVar index()
           
 boolean isEqual(java.lang.Object other)
           
static Heaper make(IntegerVar index, Heaper value)
           
static Heaper make(Position key, Heaper value)
           
 boolean match(Position key)
          Return true if my key matches key.
 boolean matchInt(IntegerVar index)
          Return true if my key matches the position associated with index.
 boolean matchValue(Heaper value)
          Return true if my value matches value.
 Position position()
           
 void printOn(java.io.PrintWriter oo)
           
 boolean replaceValue(Heaper newValue)
          Return true if my value can be replaced in place, and false if the entire entry must be
replaced.
 void sendSelfTo(Xmtr xmtr)
          do nothing
 void setNext(TableEntry next)
          Change my pointer to the rest of the chain in this bucket.
 Heaper value()
           
 
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, 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

myNext

protected TableEntry myNext

myValue

protected Heaper myValue
Constructor Detail

TableEntry

public TableEntry(Heaper value)

TableEntry

public TableEntry(TableEntry next,
                  Heaper value)

TableEntry

public TableEntry(Rcvr receiver)
Method Detail

copy

public TableEntry copy()

fetchNext

public TableEntry fetchNext()

index

public IntegerVar index()

match

public boolean match(Position key)
Return true if my key matches key.


matchInt

public boolean matchInt(IntegerVar index)
Return true if my key matches the position associated with index.


matchValue

public boolean matchValue(Heaper value)
Return true if my value matches value. Note that this *must* test EQ first in
case the value is no longer a heaper. Otherwise we could never remove a
destructed object.


position

public Position position()

replaceValue

public boolean replaceValue(Heaper newValue)
Return true if my value can be replaced in place, and false if the entire entry must be
replaced.


setNext

public void setNext(TableEntry next)
Change my pointer to the rest of the chain in this bucket.


value

public Heaper value()

printOn

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

destroy

public void destroy()
temporarily don't destroy.

Overrides:
destroy in class Heaper

actualHashForEqual

public int actualHashForEqual()
Overrides:
actualHashForEqual in class Heaper

isEqual

public boolean isEqual(java.lang.Object other)

sendSelfTo

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

Overrides:
sendSelfTo in class Heaper

bucketStepper

public static TableStepper bucketStepper(SharedPtrArray array)

make

public static Heaper make(IntegerVar index,
                          Heaper value)

make

public static Heaper make(Position key,
                          Heaper value)


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