Abhijit,
You can look at the actual source code for the collections. Go to the directory where you have installed the j2sdk and open
src.zip and you will see all the classes along with the source code.
Hope that helps ya

Cheers,<br />Jay<br /> <br />(SCJP 1.4)<br />Heights of great men were not achieved in one day, they were toiling day and night while their companions slept.