I am looking for information as to where I can find the complete implementation of the Set interface of java. Can anyone provide me with an appropriate link. I need to understand how is the set interface is implemented. Thank you.
You need the java.util.Set API specification and look at the list of implementing classes. You can obtain the complete source code by finding the src.zip file which lives in your Java installation folder and opening that. Look in the java folder, then the util folder.
Dubravko Zubavich wrote:I need to understand how is the set interface is implemented.
Interfaces do not have an implementation by themselves. An interface is implemented in a class. The standard Java API contains several classes that implement interface Set, for example HashSet and TreeSet.