what is the design decision behind LinkedHashSet implementation.

34 views Asked by At

A quick look at javadoc:

public class LinkedHashSet<E>     
   extends HashSet<E>     
     implements Set<E>, Cloneable, Serializable

Why did they implement Set when it has already been implemented in HashSet? I had a look at this but I don't believe this was just a mistake.

0

There are 0 answers