Originally posted by Eric Michael:
Does anyone know of a readable, plain-English treatment of the LinkedHashMap and LinkedHashSet classes available online?
Originally posted by Kelvin Michael:
Your mock exam is quit good, but would you tell me which exam is for scjp1.4? I can take more focus on them, thx.
Originally posted by Alfred Kemety:
Thanks Dan for your work,
So your beta exam about collection is more for the 1.4 or just adding more questions on collections? You know they will stress more on the collections topic in the 1.4 exam.
Also another question, why is always Serializable imported in your code, what's the relation with collections?
Thanks in advance for the reply
Originally posted by Dan Chisholm:
The WeakHashMap is not Serializable and Cloneable, but all of the others are.
Originally posted by Manish Hatwalne:
Have a look at ths article about LinkedHashMap and LinkedHashSet, it might be helpful.
Originally posted by Kathy Sierra:
You call the values() method on a HashMap when you want just the values to put in, say, an ArrayList. The values collection does indeed implement Collection, but AAACK not serializable. There are others lurking as well...
Returns a Collection view of the values contained in this Hashtable. The Collection is backed by the Hashtable, so changes to the Hashtable are reflected in the Collection, and vice-versa. The Collection supports element removal (which removes the corresponding entry from the Hashtable), but not element addition.