java.util.Objects
Explore java.util.Objects: null-safe utilities like requireNonNull, deepEquals, toString, hash, and compare for defensive Java code.
Explore java.util.Objects: null-safe utilities like requireNonNull, deepEquals, toString, hash, and compare for defensive Java code.
Learn java.util.Optional: the null wrapper that makes absence explicit. Master map, flatMap, filter, orElse, and common anti-patterns.
Understand Java variable scope, name visibility, and how scope differs from runtime lifetime for locals, instance fields, and static fields.
Understand Java variables, Java 10 local type inference, final references, and the rules for compile-time constants and static fields.
Learn Java while and do-while loops: pre-test vs post-test iteration, infinite loops, loop termination strategies, and when to choose each loop type.
Learn Java wildcard bounds: read with ? extends T, write with ? super T, and use PECS as a guide for flexible, type-safe generic methods.
Learn how Java wrapper classes support generics, boxing, and utility methods, plus cache identity, null unboxing, and performance tradeoffs.
Understand how the JDK, Java runtime images, and JVM fit together, including modern JRE packaging and custom runtimes with jlink.
Explore how Java source code transforms into bytecode and executes on the Java Virtual Machine, including JIT compilation and memory management.
Learn how CPU affinity changes task placement, how Linux real-time policies differ, and why deadline guarantees depend on workload, configuration, and hardware.