GenericNamedArraylist class: Difference between revisions
m (Created page with "The <var>GenericNamedArraylist</var> class is a system abstract base class of the <var>NamedArraylist</var> class, the <var>[[FloatNamedArraylist class|F...") |
mNo edit summary |
||
Line 9: | Line 9: | ||
<tr><th>NamedArraylist</th><td>Unicode strings</td></tr> | <tr><th>NamedArraylist</th><td>Unicode strings</td></tr> | ||
</table> | </table> | ||
[[Category:System classes]] |
Revision as of 20:29, 28 January 2011
The GenericNamedArraylist class is a system abstract base class of the NamedArraylist class, the FloatNamedArraylist class, and the UnicodeNamedArraylist class. All these classes act like arrays, where the items in the array can be referenced by a "name" rather than an item number (though all items can also be referenced by item number.
Unlike User Language abstract classes, one cannot define variables with the type of the abstract class so that it is not possible to define a variable as GenericNamedArraylist. This means that, except for documentation purposes, the GenericNamedArraylist class is essentially hidden from User Language programmers.
The extension classes of the GenericNamedArraylist class only vary in the names used to reference the items, where the names of array items are of the following types:
NamedArraylist | EBCDIC or binary strings. |
---|---|
FloatNamedArraylist | Numbers. FloatNamedArraylists can act as spares arrays, that is numeric arrays where not every index has to have a value. However, they differ from sparse arrays in that they can also have negative or non-integer names (indexes). |
NamedArraylist | Unicode strings |