The List class is a sub-class of the String class, so it inherits all methods of the String class. In addition, it contains methods used to add and locate elements in a list. A list can be thought of as a set of elements, represented in a single delimited string (e.g., "a,b,c").
All methods of the List class accept a delimiter parameter. When this parameter is not supplied, it defaults to a comma.
Ancestor |
|
Descendants |
None |
Methods |
Description |
Adds an element to the list. | |
Indicates whether a specified element occurs in the list. | |
Returns the number of elements in the list. | |
Returns the position of the element within the list. | |
Returns a sorted version of the list. |