|
||||||||
| 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.ImmuTableOnMu
| Field Summary | |
protected MuTable |
myMuTable
|
| Constructor Summary | |
ImmuTableOnMu(MuTable aMuTable)
use the given Mu to store current value |
|
ImmuTableOnMu(Rcvr receiver)
|
|
| Method Summary | |
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 key)
Return the range element at the domain position key. |
MuTable |
getMuTable()
|
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 |
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 key)
Unboxed version. |
void |
sendSelfTo(Xmtr xmtr)
|
TableStepper |
stepper(OrderSpec order)
Return a TableStepper which will enumerate my key->value mappings. |
ScruTable |
subTable(XnRegion region)
Return a table which contains only the intersection of this table's domain and the domain specified by 'region'. |
Heaper |
theOne()
Iff I contain exactly one range element, return it. |
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 |
actualHashForEqual, asImmuTable, copy, isEqual, make, make, offsetImmuTable, transformedBy |
| Methods inherited from class org.abora.white.collection.tables.ScruTable |
backfollowFrom, contentsEqual, contentsHash, get, intGet, printOnWithSimpleSyntax, printOnWithSyntax, problems, range, stepper |
| 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 MuTable myMuTable
| Constructor Detail |
public ImmuTableOnMu(MuTable aMuTable)
public ImmuTableOnMu(Rcvr receiver)
| 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 key)
ScruTable
fetch in class ImmuTablepublic Heaper intFetch(IntegerValue key)
ScruTable
intFetch in class ImmuTablepublic ScruTable subTable(XnRegion region)
ScruTable
subTable in class ImmuTablepublic ImmuTable combineWith(ImmuTable other)
ImmuTable
combineWith in class ImmuTablepublic ImmuTable without(Position index)
ImmuTable
without in class ImmuTablepublic MuTable asMuTable()
ScruTable
asMuTable 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 TableStepper stepper(OrderSpec order)
ScruTable
stepper in class ImmuTablepublic Heaper theOne()
ScruTable
theOne in class ScruTablepublic MuTable getMuTable()
public ScruTable emptySize(IntegerValue size)
ImmuTable
emptySize in class ImmuTablepublic XnRegion runAt(Position key)
ScruTable
runAt in class ImmuTablepublic XnRegion runAtInt(IntegerValue key)
ScruTable
runAtInt in class ImmuTablepublic void printOn(java.io.PrintWriter oo)
Heaper
printOn in class ScruTablepublic void sendSelfTo(Xmtr xmtr)
sendSelfTo in class Heaper
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||