|
||||||||
| 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.IntegerScruTable
| Field Summary | |
protected IntegerTable |
tableToScru
|
| Constructor Summary | |
IntegerScruTable(IntegerTable fromTable)
|
|
IntegerScruTable(Rcvr receiver)
|
|
| 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 key)
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. |
ScruTable |
innerTable()
|
Heaper |
intFetch(IntegerValue key)
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. |
static Heaper |
make(IntegerTable fromTable)
|
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 reg)
Return a table which contains only the intersection of this table's domain and the domain specified by 'region'. |
ScruTable |
subTableBetween(IntegerValue start,
IntegerValue stop)
Return a table which contains the intersection of this table's domain and the domain specified by the enclosure. |
| Methods inherited from class org.abora.white.collection.tables.ScruTable |
backfollowFrom, contentsEqual, contentsHash, get, intGet, printOn, printOnWithSimpleSyntax, printOnWithSyntax, problems, 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 IntegerTable tableToScru
| Constructor Detail |
public IntegerScruTable(IntegerTable fromTable)
public IntegerScruTable(Rcvr receiver)
| 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 key)
ScruTable
fetch in class ScruTablepublic Heaper intFetch(IntegerValue key)
ScruTable
intFetch in class ScruTablepublic ScruTable subTable(XnRegion reg)
ScruTable
subTable in class ScruTable
public ScruTable subTableBetween(IntegerValue start,
IntegerValue stop)
public ScruTable copy()
ScruTable
copy in class ScruTablepublic ScruTable emptySize(IntegerValue size)
ScruTable
emptySize in class ScruTablepublic XnRegion runAt(Position key)
ScruTable
runAt in class ScruTablepublic XnRegion runAtInt(IntegerValue key)
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 TableStepper stepper(OrderSpec order)
ScruTable
stepper in class ScruTablepublic ImmuTable asImmuTable()
ScruTable
asImmuTable in class ScruTablepublic MuTable asMuTable()
ScruTable
asMuTable in class ScruTablepublic ScruTable innerTable()
public void sendSelfTo(Xmtr xmtr)
sendSelfTo in class Heaperpublic static Heaper make(IntegerTable fromTable)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||