Hello,
Quick and easy question:
I'd like to learn a little by investigating the source code behind the predefined Java methods/classes/etc. For example, right now I'm learning to work with TreeSet and I'd like to know exactly what's going on behind the class-specific methods such as 'first', 'last', 'pollFirst', 'pollLast', etc.
Is there somewhere I can go to find these? Thank you!
EDIT: Also, while I'm here, what is this statement doing (using a random, probably incorrect line of code as an example)?
Object obj = (Object)toString();
In particular, what does this statement mean exactly?
(Object)
Thanks again!