Learning paths

Java 8 and collections, practically

Lambdas and the core functional interfaces with real examples, every List, Set, Map and Queue, streams, and the comparisons interviewers love.

  • For: You can write basic Java and want to use lambdas and collections the way professionals do.
  • By the end: You pick the right collection without thinking twice and write clean, modern Java with lambdas and streams.
  • Size: 16 lessons (51 min of reading, plus time to try the code), intermediate
  1. Collections framework: choosing the right oneCore APIs, intermediate, 3 min
  2. Sorting objects: Comparable and ComparatorCore APIs, intermediate, 3 min
  3. Stream APIModern Java, intermediate, 3 min
  4. Collectors: grouping, partitioning and joiningModern Java, intermediate, 3 min
  5. Optional: handling absenceModern Java, intermediate, 3 min
  6. ArrayList vs LinkedListCollections compared, intermediate, 3 min
  7. HashSet vs TreeSet (and LinkedHashSet)Collections compared, intermediate, 3 min
  8. HashMap vs HashtableCollections compared, intermediate, 3 min
  9. HashMap vs ConcurrentHashMapCollections compared, advanced, 3 min
  10. HashMap vs LinkedHashMapCollections compared, intermediate, 3 min
  11. Comparable vs ComparatorCollections compared, intermediate, 3 min
  12. Iterator vs ListIteratorCollections compared, intermediate, 3 min
  13. Fail-fast vs fail-safe iteratorsCollections compared, intermediate, 3 min

Other paths