0

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.

Community
  • 1
  • 1
Akki
  • 112
  • 12

0 Answers0