|
||||||||
| 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.OffsetScruTable
| Field Summary | |
protected Dsp |
myDsp
|
protected ScruTable |
myTable
|
| Constructor Summary | |
protected |
OffsetScruTable(ScruTable table,
Dsp dsp)
|
| Method Summary | |
int |
actualHashForEqual()
See ScruTable::isEqual |
ImmuTable |
asImmuTable()
Return a side-effect-free snapshot of my current contents. |
MuTable |
asMuTable()
Return a side-effectable version of the same table. |
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. |
XnRegion |
domain()
Return an XuRegion representing a snapshot of the current domain. |
ScruTable |
emptySize(IntegerValue size)
Return an empty table just like the current one. |
Heaper |
fetch(Position anIndex)
Return the range element at the domain position key. |
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. |
Dsp |
innerDsp()
|
ScruTable |
innerTable()
|
Heaper |
intFetch(IntegerValue idx)
Unboxed version. |
boolean |
isEmpty()
Is there anything in the table? 'table->isEmpty()' iff 'table->domain()->isEmpty()'. |
boolean |
isEqual(Heaper other)
All MuTable subclasses have equality based on identity (now and forever equal. |
void |
printOn(java.io.PrintWriter oo)
This should rarely be overridden. |
XnRegion |
runAt(Position key)
Return the length of the run starting at position key. |
XnRegion |
runAtInt(IntegerValue anIdx)
Unboxed version. |
TableStepper |
stepper()
implement default argument of NULL |
TableStepper |
stepper(OrderSpec order)
Return a TableStepper which will enumerate my key->value mappings. |
ScruTable |
subTable(XnRegion encl)
Return a table which contains only the intersection of this table's domain and the domain specified by 'region'. |
ScruTable |
transformedBy(Dsp dsp)
Return a ScruTable with the domain of the receiver transformed by the Dsp. |
| Methods inherited from class org.abora.white.collection.tables.ScruTable |
backfollowFrom, contentsEqual, contentsHash, get, intGet, printOnWithSimpleSyntax, printOnWithSyntax, problems, range, theOne |
| Methods inherited from class org.abora.white.xpp.basic.Heaper |
destroy, destruct, equals, hashForEqual, printContentsOn, sendSelfTo, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected ScruTable myTable
protected Dsp myDsp
| Constructor Detail |
protected OffsetScruTable(ScruTable table,
Dsp dsp)
| Method Detail |
public CoordinateSpace coordinateSpace()
ScruTable
coordinateSpace in class ScruTablepublic IntegerValue count()
ScruTable
count in class ScruTablepublic XnRegion domain()
ScruTable
domain in class ScruTablepublic Heaper fetch(Position anIndex)
ScruTable
fetch in class ScruTablepublic Heaper intFetch(IntegerValue idx)
ScruTable
intFetch in class ScruTablepublic ScruTable subTable(XnRegion encl)
ScruTable
subTable in class ScruTablepublic ScruTable transformedBy(Dsp dsp)
ScruTable
transformedBy in class ScruTablepublic XnRegion runAt(Position key)
ScruTable
runAt in class ScruTablepublic XnRegion runAtInt(IntegerValue anIdx)
ScruTable
runAtInt in class ScruTablepublic int actualHashForEqual()
ScruTable
actualHashForEqual in class ScruTablepublic boolean includesIntKey(IntegerValue aKey)
ScruTable
includesIntKey in class ScruTablepublic boolean includesKey(Position aKey)
ScruTable
includesKey in class ScruTablepublic boolean isEmpty()
ScruTable
isEmpty in class ScruTablepublic boolean isEqual(Heaper other)
ScruTable
isEqual in class ScruTablepublic void printOn(java.io.PrintWriter oo)
Heaper
printOn in class ScruTablepublic ScruTable copy()
ScruTable
copy in class ScruTablepublic ScruTable emptySize(IntegerValue size)
ScruTable
emptySize in class ScruTablepublic ImmuTable asImmuTable()
ScruTable
asImmuTable in class ScruTablepublic MuTable asMuTable()
ScruTable
asMuTable in class ScruTablepublic TableStepper stepper()
ScruTable
stepper in class ScruTablepublic TableStepper stepper(OrderSpec order)
ScruTable
stepper in class ScruTablepublic Dsp innerDsp()
public ScruTable innerTable()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||