We look at how to use TimeUnit to convert durations between units and avoid creating our own hard-to-read math code.
Application Developer - Java/Spring/Oracle/Microservices as a prior backend technology stack. Crossover knowledge of different programming languages and additional frameworks. Solid theoretical background. Interested in algorithms, problem-solving, and design patterns usage. Author of technology guides and articles. Job experience - involved in maintaining and developing new features in big-industry projects (telco & banking). After work hours - gaming passionate - playing, also developing (mainly Android) and 3D modeling/graphics.
Here's what I've written (so far):
Baeldung on Java
- Testing (2)
- Java IO (2)
- Spring Data (1)
- Programming (1)
- Java Dates (1)
- Java (1)
- Data (1)
Learn two different ways for creating test suites with JUnit.
A quick and practical guide to truncating table in Spring Data JPA.
Learn the key differences between SpringRunner and MockitoJUnitRunner and understand their purpose.
Learn how to construct a relative path from two absolute paths in Java.
Learn about the reference and value equality checks in Java, the differences between them, and understand when to use which check.
Learn how to find the last row in an Excel spreadsheet using Java and Apache POI.
A step-by-step guide to Git, this article discusses the most commonly used commands. Learn the basics, the Git workflow, branching and even some advanced techniques like modifying your commit history.
Learn how to validate if a given string has a valid filename for the OS, using Java.
Baeldung on Ops
- Docker (2)
Learn multiple ways for mounting a single file in a volume using Docker.
Explore the differences between expose and ports when using Docker Compose.