About Java Hub

Java Learners Hub


Super friendly <br/>code & developer communities

Super friendly
code & developer communities

A place for coders and developers to share, learn and grow together.

Back to Hub

How does Treeset work for set of objects?

1      Reply

treeset uses a tree for storage, it is like sortedset, optionally a comparator is used to which specifies how the objects need to be sorted

Reply