|
||||||||
| 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
| Field Summary | |
protected COWIntegerTable |
myNextCOW
|
| Constructor Summary | |
protected |
OberIntegerTable()
|
protected |
OberIntegerTable(Rcvr rcvr)
|
| Method Summary | |
void |
aboutToWrite()
|
abstract Heaper |
atIntStore(IntegerValue key,
Heaper value)
Unboxed version. |
Heaper |
atStore(Position key,
Heaper value)
Associate value with key, whether or not there is a previous association. |
abstract void |
becomeCloneOnWrite(Heaper where)
|
CoordinateSpace |
coordinateSpace()
The kind of elements used to index into the table are Positions of this coordinate space. |
abstract ScruTable |
copy()
A new one whose initial state is my current state, but that doesn't track changes. |
abstract IntegerValue |
count()
Return the number of domain elements, which is to say, the number of associations. |
abstract XnRegion |
domain()
Return an XuRegion representing a snapshot of the current domain. |
abstract PtrArray |
elementsArray()
return the elements array for rapid processing |
abstract ScruTable |
emptySize(IntegerValue size)
Return an empty table just like the current one. |
abstract 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. |
COWIntegerTable |
getNextCOW()
|
abstract IntegerValue |
highestIndex()
Given that the table is non-empty, 'intTab->highestIndex()' is equivalent to 'CAST(IntegerRegion,intTab->domain())->upperBound() -1'. |
abstract 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. |
abstract Heaper |
intFetch(IntegerValue key)
Unboxed version. |
abstract boolean |
intWipe(IntegerValue anIdx)
Unboxed version. |
abstract boolean |
isEmpty()
Is there anything in the table? 'table->isEmpty()' iff 'table->domain()->isEmpty()'. |
abstract IntegerValue |
lowestIndex()
Given that the table is non-empty, 'intTab->lowestIndex()' is equivalent to 'CAST(IntegerRegion,intTab->domain())->lowerBound()'. |
abstract 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. |
abstract XnRegion |
runAtInt(IntegerValue key)
Unboxed version. |
void |
setNextCOW(COWIntegerTable table)
|
abstract IntegerValue |
startIndex()
|
abstract int |
startOffset()
return the size of the elements array for rapid processing |
abstract TableStepper |
stepper(OrderSpec order)
Return a TableStepper which will enumerate my key->value mappings. |
abstract ScruTable |
subTable(XnRegion reg)
Return a table which contains only the intersection of this table's domain and the domain specified by 'region'. |
abstract 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.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, sendSelfTo, 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 |
destroy, destruct, equals, hashForEqual, printContentsOn, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected COWIntegerTable myNextCOW
| Constructor Detail |
protected OberIntegerTable()
protected OberIntegerTable(Rcvr rcvr)
| Method Detail |
public abstract Heaper atIntStore(IntegerValue key,
Heaper value)
MuTable
atIntStore in class IntegerTablepublic CoordinateSpace coordinateSpace()
ScruTable
coordinateSpace in class IntegerTablepublic abstract IntegerValue count()
ScruTable
count in class IntegerTablepublic abstract XnRegion domain()
ScruTable
domain in class IntegerTablepublic abstract IntegerValue highestIndex()
highestIndex in class IntegerTablepublic abstract Heaper intFetch(IntegerValue key)
ScruTable
intFetch in class IntegerTablepublic abstract boolean intWipe(IntegerValue anIdx)
MuTable
intWipe in class IntegerTablepublic abstract IntegerValue lowestIndex()
lowestIndex in class IntegerTablepublic abstract ScruTable subTable(XnRegion reg)
ScruTable
subTable in class IntegerTablepublic abstract ScruTable copy()
ScruTable
copy in class IntegerTablepublic abstract ScruTable emptySize(IntegerValue size)
ScruTable
emptySize in class IntegerTable
public abstract ScruTable offsetSubTableBetween(IntegerValue startIndex,
IntegerValue stopIndex,
IntegerValue firstIndex)
offsetSubTableBetween in class IntegerTable
public abstract ScruTable subTableBetween(IntegerValue startIndex,
IntegerValue stopIndex)
subTableBetween in class IntegerTablepublic abstract XnRegion runAtInt(IntegerValue key)
ScruTable
runAtInt in class IntegerTablepublic abstract boolean includesIntKey(IntegerValue aKey)
ScruTable
includesIntKey in class IntegerTablepublic abstract boolean isEmpty()
ScruTable
isEmpty in class IntegerTablepublic abstract TableStepper stepper(OrderSpec order)
ScruTable
stepper in class IntegerTablepublic abstract PtrArray elementsArray()
public abstract int endOffset()
public abstract IntegerValue startIndex()
public abstract int startOffset()
public void aboutToWrite()
public abstract void becomeCloneOnWrite(Heaper where)
public COWIntegerTable getNextCOW()
public void setNextCOW(COWIntegerTable table)
public Heaper atStore(Position key,
Heaper value)
MuTable
atStore in class IntegerTablepublic Heaper fetch(Position key)
ScruTable
fetch in class IntegerTablepublic boolean includesKey(Position aKey)
ScruTable
includesKey in class IntegerTablepublic XnRegion runAt(Position key)
ScruTable
runAt in class IntegerTablepublic boolean wipe(Position key)
MuTable
wipe in class IntegerTable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||