IndexedContainer


Overview

An indexed container is a class that manages a hashtable associating keys with values. The Container::add/1 operation is implemented by IndexedContainer to add the argument as both an index and a value. The class IndexedContainer provides a 2-place operation for 'add' that allows the index to be different from the value. Note that 'remove/1' expects to be supplied with the index.



Parents Container ,Object ,Element


Constructors



Attributes
contentsTableNo Documentation Specified



Operations
add(index:Element,element:Element):ContainerNo Documentation Specified
add(element:Element):ContainerNo Documentation Specified
addContentDaemon(actionSource:Element,daemon:Operation):ContainerNo Documentation Specified
contentDaemons():Seq(Operation)No Documentation Specified
contents():Set(Element)No Documentation Specified
index(key:Element):ElementNo Documentation Specified
indices():Set(Element)No Documentation Specified
init():ElementNo Documentation Specified
initContents():ElementNo Documentation Specified
remove(element:Element):ContainerNo Documentation Specified
removeContentDaemon(daemon:Operation):ContainerNo Documentation Specified
From Container: untraceAll, traceAll, removeContentDaemon, remove, initContents, init, includes, deleteRecursive, contentsThat, contentsOf, contents, contentDaemons, checkConstraints, checkConstraints, allContentsThat, allContentsOf, allContents, addContentDaemon, add. From Object: slotMissing, slotMissing, setProperty, setHotLoad, setDaemonsActive, setDaemons, set, renameSlot, removeStructuralFeature, removeDaemonsWithTarget, removeDaemonsWithId, removeDaemonNamed, removeDaemon, machineInit, initSlots, init, hotLoaded, hotLoad, hasSlot, hasProperty, getProperty, get, hasStructuralFeature, getStructuralFeatureNames, hasDaemonWithTarget, hasDaemonWithIdAndTarget, hasDaemonWithId, hasDaemonNamed, fire, destroyDaemon, daemonWithIdAndTarget, daemonWithId, daemonNamed, daemonsActive, daemons, allDaemonsWithTarget, allDaemonsWithId, compositeValues, allCompositeValuesAndSelf, allCompositeValues, addStructuralFeature, addPersistentDaemon, addMultiDaemon, addDaemon. From Element: pprint, pprint, pprint, writeXMLFile, writeXMLFile, writeXML, lift, toSnapshot, toSnapshot, allHTMLEntries, allHTMLPackages, toHTML, writeHTML, writeHTML, writeHTMLAllEntries, writeHTMLAllPackages, writeHTMLIndex, writeHTMLOverview, yield, toString, systemId, setOf, send, save2, save, removeDaemon, removeDaemon, println, print, oclIsKindOf, oclIsTypeOf, noOperationFound, isTypeOf, isReallyKindOf, init, init, of, isKindOf, addTo, checkConstraints, copy, deleteRecursive, die, edit, equals, error, ferror, hashCode.