prgrmmng.com Logo prgrmmng
Core Java Spring Boot Database
Core Java Spring Boot Database

Tutorials under 'Legacy Code'

common-mistakes-java-collections

Common Mistakes in Java Collections (and How to Avoid Them)

Avoid pitfalls in Java Collections! Discover common mistakes in Lists, Sets, Maps, and more—learn fixes, performance tips, and real-world examples

Java 21Anti PatternsJava StreamsImmutable CollectionsConcurrent CollectionsJava 8HashMap InternalsList Vs SetFunctional ProgrammingBest PracticesMemory LeaksJava CollectionsLegacy CodeJava PerformanceArrayList Resize
immutable-collections-java9-listof-vs-unmodifiablelist

Immutable Collections in Java 9+ – List.of() vs Collections.unmodifiableList()

Learn how Java 9's List.of() compares with Collections.unmodifiableList(). Deep dive into syntax, performance, real-world use, and Java version changes.

Java 21Java 8 FeaturesJava StreamsImmutable CollectionsPerformance TuningJava 9Java Best PracticesUnmodifiableListCollections FrameworkFunctional ProgrammingList.ofJava ListJava CollectionsLegacy CodeJava Internals

Core Java

  • Java Basics
  • OOP Concepts
  • Collections
  • Exception Handling
  • Multithreading
  • Lambdas & Streams

Spring Boot

  • Intro to Spring Boot
  • Building REST APIs
  • JPA & Hibernate
  • Spring Security
  • Spring with Docker

Tools & DevOps

  • Maven
  • Git & GitHub
  • JUnit & Testing
  • CI/CD Basics
  • Docker Basics

Explore

  • About
  • Contact
  • Sitemap
  • Privacy Policy
  • Terms of Service
© 2025 prgrmmng.com - Java tutorials for serious developers.