File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes BitSet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "BitSet" Watch "BitSet" New topic
Author

BitSet

joshua antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 117
which collection class offers constant time performance for the basic operations- add(), remove(), contains() and size() ?

Options:
1. TreeSet
2. HashSet
3. BitSet
4. None

Above is a question from Whizlab.
Is BitSet included in syllabus of scjp 1.5?
Petrus Pelser
Ranch Hand

Joined: Feb 20, 2006
Posts: 132
It doesn't matter. They all inherit from the Set interface, so if you are familiar with the basic functionality of the Set interface, you will know the basic functionality of any class or interface that extends from the Set interface.

To answer your question: I am not aware that BitSet is 'officially' part of the objectives.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: BitSet
 
Similar Threads
BitSet
Bitset Operations - any alternatives to this code?
Collections question
bitset
BitSet