|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.spaces.basic.XnRegion
|
+--org.abora.gold.id.IDRegion
If mySpace is NULL, then it is assumed to be global IDSpace.
The non-negative part of myLocalIDs contains the number portion of all IDs in the region
that were generated by the current backend. The negative part contains all IDs which were
generated by the "global" backend.
If myImportedIDs is NULL, it is considered to be empty. If it is non-NULL, it must be
non-empty. It contains the numbers of all IDs in this region which were generated by other
backends. If an entry in the table could be omitted without effect, then it should be
omitted. (i.e. if myIncludesRest and the region is full, or myIncludesRest not and the
region is empty, then the entry should be omitted).
If myIncludesRest is true, then the region includes, in addition to those IDs explictly
listed in myLocalIDs and myImportedIDs, all ID generated by all other backends.
| Field Summary | |
protected ImmuTable |
myImportedIDs
|
protected boolean |
myIncludesRest
|
protected IntegerRegion |
myLocalIDs
|
protected IDSpace |
mySpace
|
protected static IntegerRegion |
TheGlobalNumbers
|
protected static IntegerRegion |
TheLocalNumbers
|
| Fields inherited from class org.abora.gold.spaces.basic.XnRegion |
CantMixCoordSpacesSignal, EmptyRegionSignal |
| 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 | |
IDRegion(IDSpace space,
IntegerRegion localIDs,
ImmuTable importedIDs,
boolean includesRest)
|
|
IDRegion(Rcvr receiver)
|
|
| Method Summary | |
int |
actualHashForEqual()
|
Stepper |
actualStepper(OrderSpec order)
Only called if I've already said I'm enumerable in the originally stated order. |
XnRegion |
asSimpleRegion()
Return a simple region containing all positions contained by myself. If I am simple, then the result must be me. |
SequenceRegion |
backends()
All backends which have generated IDs in this Region |
XnRegion |
complement()
Essential. |
CoordinateSpace |
coordinateSpace()
Essential. |
IntegerVar |
count()
How many positions do I contain? If I am not 'isFinite', then this message will BLAST. |
ScruSet |
distinctions()
Break it up into a set of non-full distinctions. |
XnRegion |
explicitBackends()
All backends which are non-empty and are explicitly listed. |
UInt8Array |
export()
Essential. |
ImmuTable |
fetchImportedIDs()
|
IDRegion |
fetchInexplicit()
The region which covers material not in the explicitBackends list, or NULL if there is none. |
IDSpace |
fetchSpace()
|
ImmuTable |
getImportedIDs()
|
boolean |
hasMember(Position position)
Do I contain this position? More than anything else, the behavior of this message is the defining characteristic of an XuRegion. |
SequenceRegion |
identifiers()
The identifiers of all the IDs in the region. Note: This is only possible if the region is finite, and even then it takes up much more space than the IDRegion. |
XnRegion |
iDNumbersFrom(Sequence backend)
The numbers of all IDs in this region that were generated by the given backend |
static IDRegion |
importx(PrimIntArray data)
Essential. |
boolean |
includesRest()
|
static void |
info()
{UInt8Array CLIENT} export |
static void |
initTimeNonInherited()
|
XnRegion |
intersect(XnRegion region)
Essential. |
boolean |
isEmpty()
Every coordinate space has exactly one empty region. |
boolean |
isEqual(Heaper other)
Two regions are equal iff they contain exactly the same set of positions |
boolean |
isFinite()
Essential. |
boolean |
isFull()
true if this is the largest possible region in this space -- the region that contains all positions in the space. |
boolean |
isSimple()
Am I a simple region. |
boolean |
isSubsetOf(XnRegion region)
I'm a subset of other if I don't have any positions that he doesn't. |
static void |
linkTimeNonInherited()
|
IntegerRegion |
localIDs()
|
static Heaper |
make()
|
static Heaper |
make(ID iD)
|
static Heaper |
make(IDSpace space,
IntegerRegion localIDs,
ImmuTable importedIDs,
boolean includesRest)
|
static Heaper |
make(ScruSet iDs)
|
void |
printOn(java.io.PrintWriter oo)
|
void |
sendSelfTo(Xmtr xmtr)
do nothing |
Stepper |
simpleRegions(OrderSpec order)
Break myself up into a finite set of non-empty simple regions which, when unionWith'ed together will yield me. |
XnRegion |
simpleUnion(XnRegion region)
The result must contain all positions contained by either of the two original regions, and the result must be simple. |
Position |
theOne()
Iff I contain exactly one position, return it. |
XnRegion |
unionWith(XnRegion region)
The result has as members exactly those positions which are members of either of the original two regions. |
static IDRegion |
usingx(IDSpace space,
IntegerRegion localIDs,
ImmuTable importedIDs,
boolean includesRest)
For IDSpace constructor only. |
XnRegion |
with(Position pos)
the region with one more position. |
| Methods inherited from class org.abora.gold.spaces.basic.XnRegion |
asArray, chooseMany, chooseMany, chooseOne, chooseOne, delta, disjointSimpleRegions, disjointSimpleRegions, dox, immuSet, intersects, isDistinction, isEnumerable, isEnumerable, mapping, minus, simpleRegions, stepper, stepper, without |
| 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 |
protected IDSpace mySpace
protected IntegerRegion myLocalIDs
protected ImmuTable myImportedIDs
protected boolean myIncludesRest
protected static IntegerRegion TheGlobalNumbers
protected static IntegerRegion TheLocalNumbers
| Constructor Detail |
public IDRegion(IDSpace space,
IntegerRegion localIDs,
ImmuTable importedIDs,
boolean includesRest)
public IDRegion(Rcvr receiver)
| Method Detail |
public XnRegion asSimpleRegion()
XnRegion
asSimpleRegion in class XnRegionpublic CoordinateSpace coordinateSpace()
XnRegion
coordinateSpace in class XnRegionpublic UInt8Array export()
public Position theOne()
XnRegion
theOne in class XnRegionpublic int actualHashForEqual()
actualHashForEqual in class XnRegionpublic boolean hasMember(Position position)
XnRegion
hasMember in class XnRegionpublic boolean isEmpty()
XnRegion
isEmpty in class XnRegionpublic boolean isEqual(Heaper other)
XnRegion
isEqual in class XnRegionpublic boolean isFinite()
XnRegion
isFinite in class XnRegionpublic boolean isFull()
XnRegion
isFull in class XnRegionpublic boolean isSimple()
XnRegion
isSimple in class XnRegionpublic boolean isSubsetOf(XnRegion region)
XnRegion
isSubsetOf in class XnRegionpublic Stepper actualStepper(OrderSpec order)
XnRegion
actualStepper in class XnRegionpublic IntegerVar count()
XnRegion
count in class XnRegionpublic ScruSet distinctions()
XnRegion
distinctions in class XnRegionpublic Stepper simpleRegions(OrderSpec order)
XnRegion
simpleRegions in class XnRegionpublic SequenceRegion backends()
public XnRegion explicitBackends()
public ImmuTable fetchImportedIDs()
public IDRegion fetchInexplicit()
public IDSpace fetchSpace()
public ImmuTable getImportedIDs()
public XnRegion iDNumbersFrom(Sequence backend)
public boolean includesRest()
public IntegerRegion localIDs()
public XnRegion complement()
XnRegion
complement in class XnRegionpublic XnRegion intersect(XnRegion region)
XnRegion
intersect in class XnRegionpublic XnRegion simpleUnion(XnRegion region)
XnRegion
simpleUnion in class XnRegionpublic XnRegion unionWith(XnRegion region)
XnRegion
unionWith in class XnRegionpublic XnRegion with(Position pos)
XnRegion
with in class XnRegionpublic void printOn(java.io.PrintWriter oo)
printOn in class Heaperpublic SequenceRegion identifiers()
public void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class Heaper
public static IDRegion usingx(IDSpace space,
IntegerRegion localIDs,
ImmuTable importedIDs,
boolean includesRest)
public static void linkTimeNonInherited()
public static Heaper make()
public static Heaper make(ID iD)
public static Heaper make(ScruSet iDs)
public static void initTimeNonInherited()
public static void info()
public static IDRegion importx(PrimIntArray data)
public static Heaper make(IDSpace space,
IntegerRegion localIDs,
ImmuTable importedIDs,
boolean includesRest)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||