Java Collections & Generics
Java Collections are difficult to learn, but once you understand them, they can provide you very powerful functions.
Java Collections
- Collections Hierarchy Diagram
- Summary table
- Set: HashSet vs. TreeSet vs. LinkedHashSet
- List: ArrayList vs. LinkedList vs. Vector
- Map: HashMap vs. TreeMap vs. Hashtable vs. LinkedHashMap
- More examples
Generics
- Why do we need generic types in Java?
- 3 examples to explain common mistakes when using Java Generics
There are more Java API Examples from programcreek.