We look at how to use TimeUnit to convert durations between units and avoid creating our own hard-to-read math code.
Search Results for: Versions
Overriding Spring Boot Managed Dependency Versions
Learn how to override Spring Boot managed dependencies and their versions with both Maven and Gradle.
Java IntStream Conversions
Learn how to work with integer streams using the Java Stream API.
Array to String Conversions
Learn how to convert arrays to strings and back again in Java
Java IO – Conversions
Learn how to do simple IO conversions in Java.
Guide to Spring Type Conversions
Take a look at built-in type converters in Spring and how to add custom ones.
Java Primitive Conversions
The most useful conversions of Java primitive types.
PDF Conversions in Java
A quick and practical guide to PDF conversions in Java
Java String Conversions
Quick and practical examples focused on converting String objects to different data types in Java.
Intro to Apache Commons Configuration Project
Apache Commons Configuration can be used to allow us to specify configuration parameters to be loaded at runtime by our application. We look at a few use cases and types of configuration files.
Role-Based Access Control in Quarkus
Explore the RBAC system and learn how to leverage the Quarkus framework to implement it.
Converting Image to BufferedImage in Java
A quick and practical guide to converting images to BufferedImage in Java.
Difference Between Casting to String and String.valueOf()
Discover when casting to String or using String.valueOf() is most useful.
PrintWriter write() vs print() Method in Java
Discover the differences between PrintWriter’s write() and print() methods.
Parallel Collection Processing with Parallel Collectors and Virtual Threads
Learn how to perform parallel processing of collections in Java with the Parallel Collectors library and Virtual Threads.
Install Java on macOS
Learn how to install Oracle JDK via DMG package and OpenJDK via Homebrew package manager
Introduction to Light-4J
Learn the core philosophy, key features, and architectural concepts of the Light-4j library.
Immutable vs Unmodifiable Collection in Java
Learn how to choose between Unmodifiable and Immutable Collections in Java.
Multiple-Level Mock Injection Into Mockito Spy Objects
Learn how Mockito annotations work in multiple-level injection scenarios.
Saga Pattern in a Microservices Architecture
Learn how to implement Saga Pattern in a microservices architecture with Orkes Conductor.