Programs often deal with collections of items. These collections may be organised in many ways and use many different program structures to represent them, yet, from an abstract point of view, there will be a few common operations on any collection. These might include:
create | Create a new collection |
add | Add an item to a collection |
delete | Delete an item from a collection |
find | Find an item matching some criterion in the collection |
destroy | Destroy the collection |
Abstract point of view