(something isKindOf: MuTable)
ifTrue: [^self makeMuTable: something].
An empty ImmuTable whose domain space is 'cs'.
Overrides: ScruTable
Overridden by: OffsetImmuTable
Overrides: ScruTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Similar to unionWith. In particular, if 'a = b->combineWith(c);', then:
'a->domain()->isEqual(b->domain()->unionWith(c->domain())' and
'a->range()->isSubsetOf(b->range()->unionWith(c->range())'.
(Note that the domain case uses XuRegion::unionWith, while the range case
uses ImmuSet::unionWith.)
Despite this correspondence, unionWith is symmetrical while combineWith is not.
Given that the two input tables have different associations for a given key,
one gets to dominate. I need to specify which one here, but the code seems
inconsistent on this question. Until this is resolved, console youself with the
thought that if the tables don't conflict we have a simple unionWith of the two
sets of associations (and the 'isSubsetOf' above can be replaced with 'isEqual').
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
don't need to actually make a copy, as this is immutable
Overrides: ScruTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
The idea of a 'size' argument would seem kind of ridiculous here as the resulting empty table can't be changed.
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Overrides: ScruTable
Overridden by: ImmuTableOnMu OffsetImmuTable
Return a ScruTable with the domain of the receiver transformed by the Dsp.
'table->transformedBy(d)->fetch(p)' is equivalent to
'table->fetch(d->of(p))'.
See ScruTable::subTable for caveats regarding whether we return a snapshot
or a view. All the same caveats apply.
In this case of transforming an ImmuTable, it makes sense to return an ImmuTable.
Overrides: ScruTable
Overridden by: OffsetImmuTable
Please use ImmuTable::combineWith instead. 'with' was an innapropriate name
because its use elsewhere (see ImmuSet::with and XuRegion::with) implies that
the argument is a single element to be added, not a collection of elements to
be added.
Return a new table just like the current one except with the association whose
key is 'index'.
Overridden by: ImmuTableOnMu OffsetImmuTable