Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
4Activity
0 of .
Results for:
No results containing your search query
P. 1
Collections

Collections

Ratings: (0)|Views: 43|Likes:
Published by api-3802159

More info:

Published by: api-3802159 on Oct 17, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

The Java Collection Framework
\ue000A unified architecture for representing and
manipulating collections

\u2013Interfaces
\u2013Implementations
\u2013Algorithms

\ue000Advantages

\u2013It reduces programming effort
\u2013It increases program speed and quality
\u2013It allows interoperability among unrelated APIs
\u2013It fosters software reuse

Interfaces
\ue000Collection
\u2013general interface
\ue000Set
\u2013cannot contain duplicate
elements
\ue000List
\u2013ordered collection
\ue000SortedSet
\u2013maintains its elements in
ascending order
Object Ordering
\ue000Implement Comparable interface
\u2013provides a natural ordering
\u2013allows objects of that class to be sorted
automatically
\ue000List
\u2013could be sorted in the natural orderering by
method Collections.sort(List l)
\ue000SortedSet
\u2013all objects sorted according to thenatural ordering

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->