Index - All Packages - All Categories - All Classes

Class MuTable

MuTable represents the base class for all side-effectable tables. It provides the basic change protocol for tables. See MuSet.

Package: Udanax-Gold
All Superclasses: Object Heaper ScruTable
Immediate Subclasses: GrandHashTable HashTable IntegerTable
Protocols: Object
Categories: Xanadu-Collection-Tables

Class Methods

initTimeNonInherited



Overridden by: GrandHashTable class HashTable class

make: cs

A new empty MuTable whose domain space is 'cs'.

Overridden by: GrandHashTable class ActualHashTable class IntegerTable class

make: cs with: reg

Semantically identical to 'muTable(cs)'. 'reg' just provides a hint as to what
part of the domain space the new table should expect to be occupied.

Overridden by: GrandHashTable class ActualHashTable class IntegerTable class

problemsAlreadyInTable


problemsNilInsertion


test

Table test

Instance Methods

actualHashForEqual



Overrides: ScruTable

asImmuTable



Overrides: ScruTable
Overridden by: GrandHashTable

asMuTable

Note that muTable->asMuTable() returns a copy of the original. The two
are now free to change independently.

Overrides: ScruTable
Overridden by: GrandHashTable

at: key introduce: value

Associate key with value unless key is already associated with another value. If so, blast.

Overridden by: IntegerTable

at: key replace: value

Associate key with value only if key is already associated with a value. Otherwise blast.

Overridden by: IntegerTable

at: key store: value

Associate value with key, whether or not there is a previous association.
Return the old range element if the position was previously occupied, nil otherwise

Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

atInt: key introduce: value

Unboxed version. See class comment for XuInteger

Overridden by: IntegerTable

atInt: key replace: value

Unboxed version. See class comment for XuInteger

Overridden by: IntegerTable

atInt: aKey store: anObject

Unboxed version. See class comment for XuInteger

Overridden by: ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

coordinateSpace



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

copy



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

count



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

create

Create a new table with an unspecified number of initial domain positions.

Overrides: ScruTable
Overridden by: HashTable IntegerTable ActualArray OberIntegerTable ActualIntegerTable

createRcvr: receiver



Overridden by: GrandHashTable ActualHashTable ActualArray ActualIntegerTable COWIntegerTable

domain



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

emptySize: size



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

fetch: key



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

includesIntKey: aKey



Overrides: ScruTable
Overridden by: GrandHashTable IntegerTable MuArray OberIntegerTable ActualIntegerTable COWIntegerTable

includesKey: aKey



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray OberIntegerTable ActualIntegerTable COWIntegerTable

intFetch: key



Overrides: ScruTable
Overridden by: ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

intRemove: anIdx

Unboxed version. See class comment for XuInteger

Overridden by: IntegerTable

introduceAll: other


introduceAll: table with: dsp


introduceAll: table with: dsp with: region


intWipe: anIdx

Unboxed version. See class comment for XuInteger

Overridden by: IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

isEmpty



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

isEqual: other



Overrides: ScruTable

remove: anIdx

Remove a key->value association from the table.
Blast if the key is not present.

Overridden by: IntegerTable

removeAll: region


replaceAll: other


replaceAll: other with: dsp


replaceAll: table with: dsp with: region


runAt: key



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

runAtInt: index



Overrides: ScruTable
Overridden by: GrandHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

sendSelfTo: xmtr



Overridden by: GrandHashTable ActualHashTable ActualArray ActualIntegerTable COWIntegerTable

stepper: order



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

storeAll: other


storeAll: table with: dsp


storeAll: table with: dsp with: region


subTable: reg



Overrides: ScruTable
Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

wipe: anIdx

Remove a key->value association from the table.
Do not blast (or do anything else) if the key is not in my current domain.
Return TRUE if the association was present and removed,
Return FALSE if the association was not there

Overridden by: GrandHashTable HashTable ActualHashTable IntegerTable MuArray ActualArray OberIntegerTable ActualIntegerTable COWIntegerTable

wipeAll: region

I 'wipe' from myself all associations whose key is in 'region'. See MuTable::wipe

Overridden by: MuArray


Index - All Packages - All Categories - All Classes