Product SiteDocumentation Site

5.3.17. The IdentityTable Class

An identity table is a collection with indexes that can be any object. In an identity table, each item is associated with a single index, and there can be only one item for each index. Index and item matches in an identity table are made using an object identity comparison. That is, an index will only match if the same instance is used in the collection.

Table 5.27. ooRexx IdentityTable Class

Object
IdentityTable
+ MapCollection
new
allIndexes
allItems
at, []
empty
hasIndex
hasItem
index
isEmpty
items
makeArray
put, []=
remove
removeItem
supplier

Note

The IdentityTable class also has available class methods that its metaclass, the Class class (Section 5.1.2, “The Class Class”), defines. It also inherits methods from the MapCollection (Section 5.3.3, “The MapCollection Class” class.

5.3.17.1. Inherited Methods

Methods inherited from the Object class (Section 5.1.1, “The Object Class”).
new (Class Method)initsend
= \= == \== <> ><instanceMethodsendWith
|| '' (abuttal)' ' (blank)instanceMethodssetMethod
(Operator Methods)isAstart
classisInstanceOfstartWith
copyobjectNamestring
defaultNameobjectName=unsetMethod
hasMethodrequest 
identityHashrun 
Methods inherited from the Collection class (Section 5.3.2, “The Collection Class”).
[]equivalentput
[]=hasIndexsubset
allIndexeshasItemsupplier
allItemsindexunion
atintersectionxor
differenceitems 
disjointmakeArray 
Methods inherited from the MapCollection class (Section 5.3.3, “The MapCollection Class”).
putAll