A List
is an ordered Collection
(sometimes called a sequence). Lists may contain duplicate elements. In addition to the operations inherited from Collection
, the List
interface includes operations for:
- Positional Access: manipulate elements based on their numerical position in the list.
- Search: search for a specified object in the list and return its numerical position.
- List Iteration: extend
Iterator
semantics to take advantage of the list's sequential nature. - Range-view: perform arbitrary range operations on the list.
List Interface
List Implementations
Comparing List to Vector
ListIterator Interface
Operations on Lists
There are various type of operations that can be performed on lists:
- Collection Operations on Lists - Simple and Bulk
- Positional Access and Search Operations on List
- Iterating over the List
- Range view operations on lists
No comments:
Post a Comment