|
||||||||
| 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.HashTable
| Constructor Summary | |
protected |
HashTable()
|
protected |
HashTable(Rcvr rcvr)
|
| Method Summary | |
abstract Heaper |
atStore(Position key,
Heaper value)
Associate value with key, whether or not there is a previous association. |
abstract 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 ScruTable |
emptySize(IntegerValue size)
Return an empty table just like the current one. |
abstract Heaper |
fetch(Position key)
Return the range element at the domain position key. |
abstract boolean |
includesKey(Position aKey)
includesKey is used to test for the presence of a key->value pair in the table. |
abstract boolean |
isEmpty()
Is there anything in the table? 'table->isEmpty()' iff 'table->domain()->isEmpty()'. |
static MuTable |
make(CoordinateSpace cs)
A new empty MuTable whose domain space is 'cs'. |
static HashTable |
make(CoordinateSpace cs,
IntegerValue size)
|
abstract XnRegion |
runAt(Position key)
Return the length of the run starting at position key. |
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 Heaper |
theOne()
Iff I contain exactly one range element, return it. |
abstract boolean |
wipe(Position anIdx)
Remove a key->value association from the table. |
| Methods inherited from class org.abora.white.collection.tables.MuTable |
actualHashForEqual, asImmuTable, asMuTable, atIntIntroduce, atIntReplace, atIntroduce, atIntStore, atReplace, includesIntKey, intFetch, intRemove, introduceAll, introduceAll, introduceAll, intWipe, isEqual, make, problems, remove, removeAll, replaceAll, replaceAll, replaceAll, runAtInt, 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, 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 |
| Constructor Detail |
protected HashTable()
protected HashTable(Rcvr rcvr)
| Method Detail |
public abstract Heaper atStore(Position key,
Heaper value)
atStore in class MuTablepublic abstract CoordinateSpace coordinateSpace()
ScruTable
coordinateSpace in class MuTablepublic abstract IntegerValue count()
ScruTable
count in class MuTablepublic abstract XnRegion domain()
ScruTable
domain in class MuTablepublic abstract Heaper fetch(Position key)
ScruTable
fetch in class MuTablepublic abstract ScruTable subTable(XnRegion reg)
ScruTable
subTable in class MuTablepublic abstract boolean wipe(Position anIdx)
wipe in class MuTablepublic abstract boolean includesKey(Position aKey)
ScruTable
includesKey in class MuTablepublic abstract boolean isEmpty()
ScruTable
isEmpty in class MuTablepublic abstract TableStepper stepper(OrderSpec order)
ScruTable
stepper in class MuTablepublic abstract Heaper theOne()
ScruTable
theOne in class ScruTablepublic abstract XnRegion runAt(Position key)
ScruTable
runAt in class MuTablepublic abstract ScruTable copy()
ScruTable
copy in class MuTablepublic abstract ScruTable emptySize(IntegerValue size)
ScruTable
emptySize in class MuTablepublic static MuTable make(CoordinateSpace cs)
MuTable
public static HashTable make(CoordinateSpace cs,
IntegerValue size)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||