Product SiteDocumentation Site

5.3.16. The Table Class

A table is a collection with indexes that can be any object. In a table, each item is associated with a single index, and there can be only one item for each index (unlike a relation, which can contain more than one item with the same index). Index equality is determined by using the == method.

Table 5.26. ooRexx Table Class

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

Note

The Table 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.16.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 Collextion 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