This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
How do the hashset and treeset classes determine uniqueness? Is it a test on the object reference, results of the equals method on the object? Is there a comparable or comparator associated with the set class? Or does one need to implement that on the objects being stored? What if there are different types of objects in the set? Good reading reference? ------------------ Thanks in advance for any help Jeff Gaer
It makes sense to get an overview of the Collections implementation on your way to getting into the particulars of Set classes. Doug Lea is a major authority on Java, primarily known for his work on multi-threading. I think you'll find this link very informative. ------------------ Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
Make visible what, without you, might perhaps never have been seen. - Robert Bresson