Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

TreeSet and get()

843789Aug 24 2009 — edited Aug 24 2009
Hello,
just a question: how is it possible do a get on a TreeSet? I don't understand why it hasn't the get() method.
Is iterationg on it the only way to retrieve an element? Something faster?

thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 21 2009
Added on Aug 24 2009
5 comments
231 views