org.abora.gold.primtab
Class PrimSet

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.primtab.PrimSet

public class PrimSet
extends Heaper

A set of pointers. May be strong or weak. If we have a separate executor, it is called
with the remaining size after removal.


Field Summary
protected  XnExecutor myExecutor
           
protected  PtrArray myPtrs
           
protected  byte myTally
           
protected  boolean myWeakness
           
 
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
PrimSet(int size, boolean weakness)
           
PrimSet(int size, XnExecutor exec)
           
 
Method Summary
 int actualHashForEqual()
           
 int count()
           
static void create(int size, XnExecutor exec)
           
 void grow()
           
 int hashFind(Heaper value)
           
 boolean hasMember(Heaper element)
           
 void introduce(Heaper value)
           
 boolean isEmpty()
           
static Heaper make()
           
static Heaper make(int size)
           
 void remove(Heaper value)
           
 Stepper stepper()
           
 void store(Heaper value)
           
static PrimSet weak()
           
static PrimSet weak(int size)
           
static PrimSet weak(int size, XnExecutor exec)
           
 void weakRemove(int index)
           
 void wipe(Heaper value)
           
 void wipeAll()
           
 
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, 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, printOn, PROBLEM, problems, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, sendSelfTo, 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

myPtrs

protected PtrArray myPtrs

myTally

protected byte myTally

myWeakness

protected boolean myWeakness

myExecutor

protected XnExecutor myExecutor
Constructor Detail

PrimSet

public PrimSet(int size,
               XnExecutor exec)

PrimSet

public PrimSet(int size,
               boolean weakness)
Method Detail

stepper

public Stepper stepper()

introduce

public void introduce(Heaper value)

remove

public void remove(Heaper value)

store

public void store(Heaper value)

wipe

public void wipe(Heaper value)

wipeAll

public void wipeAll()

count

public int count()

hasMember

public boolean hasMember(Heaper element)

isEmpty

public boolean isEmpty()

grow

public void grow()

hashFind

public int hashFind(Heaper value)

weakRemove

public void weakRemove(int index)

actualHashForEqual

public int actualHashForEqual()
Overrides:
actualHashForEqual in class Heaper

make

public static Heaper make()

make

public static Heaper make(int size)

weak

public static PrimSet weak()

weak

public static PrimSet weak(int size)

weak

public static PrimSet weak(int size,
                           XnExecutor exec)

create

public static void create(int size,
                          XnExecutor exec)


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