By Thierry.Lefort
via developer.com
Published: Jan 10 2009 / 16:15
The Java collections framework includes classes you use to maintain collections of other objects. These collection classes implement interfaces that support different organizations of the objects they contain. For example, classes that implement the List interface keep objects in the order that they are added to the collection and can take a long time to search (proportionate to the number of objects in the collection). Classes that implement the Map interface keep objects in no particular order but are very fast to search (search time is independent of the number of objects in the collection). Classes that implement the SortedSet interface keep a set of objects in a guaranteed order, independent of the order they are added to the collection; this makes them fast to search.
Add your comment
Voters For This Link (15)
-
Thierry.Lefort -
mswatcher -
puredanger -
preterior -
Bashir -
mzgubin -
wang -
vivdigg -
oldflying -
PeterStofferis -
keyofdminor -
gkunene -
rosemarie graham -
nat101 -
davneter