Learn how to convert a byte to an int in Java.
Search Results for: compiler
Java Weekly, Issue 525
New Java features to expect in 2024, testing data access layer, eBPF and Java, and meet Docker Scout
Determine the Class of a Generic Type in Java
Learn about generics and type erasure, along with its benefits and limitations, and explore various workarounds for getting a class of generic type information at runtime.
Parse Java Source Code and Extract Methods
A quick and practical guide to parsing Java source code and extracting methods.
String vs StringBuffer Comparison in Java
Compare String and StringBuffer classes.
Catch Common Mistakes with Error Prone Library in Java
Explore the functionalities of the Error Prone library, from installation to customization, and the benefits it offers in enhancing code quality and robustness.
Resolving Gson’s “Multiple JSON Fields” Exception
Discuss the causes for a tricky yet ultimately fixable IllegalArgumentException we can encounter when using Gson
Unreachable Statements in Java
Learn about unreachable statements in Java.
Java Weekly, Issue 515
In-memory HTTP server, SSL hot reloading, Kotlin multi-platform, new reactor features, and API versioning!
A Guide to OpenRewrite
Learn the basics of the OpenRewrite, a library to for managing Maven dependencies.
Is Java Reflection Bad Practice?
In this article, we’ll explore the benefits and drawbacks of using Java Reflection, trying to determine whether it qualifies as a bad practice.
How to Convert Double to Float in Java
Explore double and float in Java and learn how to convert them into each other.
Unnamed Patterns and Variables in Java 21
Learn about an exciting preview feature in Java 21: unnamed patterns and variables.
Create a GraalVM Docker Image
Learn how to build a Docker image for a GraalVM native executable.
Code Snippets in Java API Documentation
Explore how to add code snippets into documentation using the @snippet tag.
Invoke Spring @Cacheable from Another Method of Same Bean
A quick and practical guide to invoking @Cacheable methods from other methods of the same bean in Spring.
Sequenced Collections in Java 21
Learn about the new sequenced collections from the Java 21 release.
Convert int to Long in Java
Learn several ways of convert an integer to a Long in Java.
How to Speed Up Maven Build
Learn how to speed up Maven builds.
Converting an int[] to HashSet in Java
Learn multiple approaches to converting an int[] to a HashSet in Java.