|
||||||||
| 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.ImmuTable
|
+--org.abora.white.collection.tables.OffsetImmuTable
| Field Summary | |
protected Dsp |
myDsp
|
protected ImmuTable |
myTable
|
| Constructor Summary | |
OffsetImmuTable(ImmuTable table,
Dsp dsp)
|
|
| Method Summary | |
int |
actualHashForEqual()
See ScruTable::isEqual |
MuTable |
asMuTable()
Return a side-effectable version of the same table. |
ImmuTable |
combineWith(ImmuTable other)
Similar to unionWith. |
CoordinateSpace |
coordinateSpace()
The kind of elements used to index into the table are Positions of this coordinate space. |
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)
The idea of a 'size' argument would seem kind of ridiculous here as the resulting empty table can't be changed. |
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()'. |
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. |
ImmuTable |
without(Position index)
Return a new table just like the current one except with the association whose key is 'index'. |
| Methods inherited from class org.abora.white.collection.tables.ImmuTable |
asImmuTable, copy, isEqual, make, make, offsetImmuTable |
| 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 ImmuTable myTable
protected Dsp myDsp
| Constructor Detail |
public OffsetImmuTable(ImmuTable table,
Dsp dsp)
| Method Detail |
public CoordinateSpace coordinateSpace()
ScruTable
coordinateSpace in class ImmuTablepublic IntegerValue count()
ScruTable
count in class ImmuTablepublic XnRegion domain()
ScruTable
domain in class ImmuTablepublic Heaper fetch(Position anIndex)
ScruTable
fetch in class ImmuTablepublic Heaper intFetch(IntegerValue idx)
ScruTable
intFetch in class ImmuTablepublic ScruTable subTable(XnRegion encl)
ScruTable
subTable in class ImmuTablepublic ScruTable transformedBy(Dsp dsp)
ImmuTable
transformedBy in class ImmuTablepublic XnRegion runAt(Position key)
ScruTable
runAt in class ImmuTablepublic XnRegion runAtInt(IntegerValue anIdx)
ScruTable
runAtInt in class ImmuTablepublic int actualHashForEqual()
ScruTable
actualHashForEqual in class ImmuTablepublic boolean includesIntKey(IntegerValue aKey)
ScruTable
includesIntKey in class ImmuTablepublic boolean includesKey(Position aKey)
ScruTable
includesKey in class ImmuTablepublic boolean isEmpty()
ScruTable
isEmpty in class ImmuTablepublic void printOn(java.io.PrintWriter oo)
Heaper
printOn in class ScruTablepublic ScruTable emptySize(IntegerValue size)
ImmuTable
emptySize in class ImmuTablepublic MuTable asMuTable()
ScruTable
asMuTable in class ImmuTablepublic TableStepper stepper()
ScruTable
stepper in class ScruTablepublic TableStepper stepper(OrderSpec order)
ScruTable
stepper in class ImmuTablepublic Dsp innerDsp()
public ScruTable innerTable()
public ImmuTable combineWith(ImmuTable other)
ImmuTable
combineWith in class ImmuTablepublic ImmuTable without(Position index)
ImmuTable
without in class ImmuTable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||