|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.white.xpp.basic.Heaper
|
+--org.abora.white.collection.tables.ScruTable
|
+--org.abora.white.collection.tables.MuTable
|
+--org.abora.white.collection.tables.IntegerTable
|
+--org.abora.white.collection.tables.OberIntegerTable
|
+--org.abora.white.collection.tables.COWIntegerTable
| Field Summary | |
protected OberIntegerTable |
myPrev
|
protected OberIntegerTable |
myTable
|
| Fields inherited from class org.abora.white.collection.tables.OberIntegerTable |
myNextCOW |
| Constructor Summary | |
protected |
COWIntegerTable(OberIntegerTable table)
|
protected |
COWIntegerTable(Rcvr receiver)
|
| Method Summary | |
void |
aboutToWrite()
|
Heaper |
atIntStore(IntegerValue aKey,
Heaper anObject)
Unboxed version. |
Heaper |
atStore(Position key,
Heaper value)
Associate value with key, whether or not there is a previous association. |
void |
becomeCloneOnWrite(Heaper where)
|
CoordinateSpace |
coordinateSpace()
The kind of elements used to index into the table are Positions of this coordinate space. |
ScruTable |
copy()
A new one whose initial state is my current state, but that doesn't track changes. |
IntegerValue |
count()
Return the number of domain elements, which is to say, the number of associations. |
void |
destroy()
only recover these during GC. |
XnRegion |
domain()
Return an XuRegion representing a snapshot of the current domain. |
PtrArray |
elementsArray()
return the elements array for rapid processing |
ScruTable |
emptySize(IntegerValue size)
Return an empty table just like the current one. |
int |
endOffset()
return the size of the elements array for rapid processing |
Heaper |
fetch(Position key)
Return the range element at the domain position key. |
OberIntegerTable |
getPrev()
|
IntegerValue |
highestIndex()
Given that the table is non-empty, 'intTab->highestIndex()' is equivalent to 'CAST(IntegerRegion,intTab->domain())->upperBound() -1'. |
boolean |
includesIntKey(IntegerValue aKey)
Unboxed version. |
boolean |
includesKey(Position aKey)
includesKey is used to test for the presence of a key->value pair in the table. |
Heaper |
intFetch(IntegerValue key)
Unboxed version. |
boolean |
intWipe(IntegerValue anIdx)
Unboxed version. |
boolean |
isEmpty()
Is there anything in the table? 'table->isEmpty()' iff 'table->domain()->isEmpty()'. |
IntegerValue |
lowestIndex()
Given that the table is non-empty, 'intTab->lowestIndex()' is equivalent to 'CAST(IntegerRegion,intTab->domain())->lowerBound()'. |
ScruTable |
offsetSubTableBetween(IntegerValue startIndex,
IntegerValue stopIndex,
IntegerValue firstIndex)
Return a table which contains the elements from start to stop, starting at firstIndex. |
XnRegion |
runAt(Position key)
Return the length of the run starting at position key. |
XnRegion |
runAtInt(IntegerValue index)
Unboxed version. |
void |
sendSelfTo(Xmtr xmtr)
|
void |
setMuTable(OberIntegerTable table)
|
void |
setPrev(OberIntegerTable set)
|
IntegerValue |
startIndex()
|
int |
startOffset()
return the size of the elements array for rapid processing |
TableStepper |
stepper(OrderSpec order)
Return a TableStepper which will enumerate my key->value mappings. |
ScruTable |
subTable(XnRegion reg)
Return a table which contains only the intersection of this table's domain and the domain specified by 'region'. |
ScruTable |
subTableBetween(IntegerValue startIndex,
IntegerValue stopIndex)
Hack for C++ overloading problem |
boolean |
wipe(Position key)
Remove a key->value association from the table. |
| Methods inherited from class org.abora.white.collection.tables.OberIntegerTable |
getNextCOW, setNextCOW |
| Methods inherited from class org.abora.white.collection.tables.IntegerTable |
atIntIntroduce, atIntReplace, atIntroduce, atReplace, intRemove, make, make, make, make, remove |
| Methods inherited from class org.abora.white.collection.tables.MuTable |
actualHashForEqual, asImmuTable, asMuTable, introduceAll, introduceAll, introduceAll, isEqual, make, make, problems, removeAll, replaceAll, replaceAll, replaceAll, storeAll, storeAll, storeAll, wipeAll |
| Methods inherited from class org.abora.white.collection.tables.ScruTable |
backfollowFrom, contentsEqual, contentsHash, get, intGet, printOn, printOnWithSimpleSyntax, printOnWithSyntax, range, stepper, theOne, transformedBy |
| Methods inherited from class org.abora.white.xpp.basic.Heaper |
destruct, equals, hashForEqual, printContentsOn, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected OberIntegerTable myPrev
protected OberIntegerTable myTable
| Constructor Detail |
protected COWIntegerTable(OberIntegerTable table)
protected COWIntegerTable(Rcvr receiver)
| Method Detail |
public Heaper atIntStore(IntegerValue aKey,
Heaper anObject)
MuTable
atIntStore in class OberIntegerTablepublic CoordinateSpace coordinateSpace()
ScruTable
coordinateSpace in class OberIntegerTablepublic IntegerValue count()
ScruTable
count in class OberIntegerTablepublic XnRegion domain()
ScruTable
domain in class OberIntegerTablepublic IntegerValue highestIndex()
OberIntegerTable
highestIndex in class OberIntegerTablepublic Heaper intFetch(IntegerValue key)
ScruTable
intFetch in class OberIntegerTablepublic boolean intWipe(IntegerValue anIdx)
MuTable
intWipe in class OberIntegerTablepublic IntegerValue lowestIndex()
OberIntegerTable
lowestIndex in class OberIntegerTablepublic ScruTable subTable(XnRegion reg)
ScruTable
subTable in class OberIntegerTablepublic ScruTable copy()
ScruTable
copy in class OberIntegerTablepublic void destroy()
destroy in class Heaperpublic ScruTable emptySize(IntegerValue size)
ScruTable
emptySize in class OberIntegerTable
public ScruTable offsetSubTableBetween(IntegerValue startIndex,
IntegerValue stopIndex,
IntegerValue firstIndex)
OberIntegerTable
offsetSubTableBetween in class OberIntegerTable
public ScruTable subTableBetween(IntegerValue startIndex,
IntegerValue stopIndex)
OberIntegerTable
subTableBetween in class OberIntegerTablepublic XnRegion runAtInt(IntegerValue index)
ScruTable
runAtInt in class OberIntegerTablepublic boolean includesIntKey(IntegerValue aKey)
ScruTable
includesIntKey in class OberIntegerTablepublic boolean isEmpty()
ScruTable
isEmpty in class OberIntegerTablepublic TableStepper stepper(OrderSpec order)
ScruTable
stepper in class OberIntegerTablepublic OberIntegerTable getPrev()
public void setMuTable(OberIntegerTable table)
public void setPrev(OberIntegerTable set)
public PtrArray elementsArray()
elementsArray in class OberIntegerTablepublic int endOffset()
endOffset in class OberIntegerTablepublic IntegerValue startIndex()
startIndex in class OberIntegerTablepublic int startOffset()
startOffset in class OberIntegerTablepublic void aboutToWrite()
aboutToWrite in class OberIntegerTablepublic void becomeCloneOnWrite(Heaper where)
becomeCloneOnWrite in class OberIntegerTable
public Heaper atStore(Position key,
Heaper value)
MuTable
atStore in class OberIntegerTablepublic Heaper fetch(Position key)
ScruTable
fetch in class OberIntegerTablepublic boolean includesKey(Position aKey)
ScruTable
includesKey in class OberIntegerTablepublic XnRegion runAt(Position key)
ScruTable
runAt in class OberIntegerTablepublic boolean wipe(Position key)
MuTable
wipe in class OberIntegerTablepublic void sendSelfTo(Xmtr xmtr)
sendSelfTo in class MuTable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||