Explore two effective approaches for converting a Long to a BigDecimal in Java.
Search Results for: cast
Java Weekly, Issue 497
Intermediate stream, intelligent Spring with OpenAI, pattern matching, p99 of GC, and moving out of the Cloud.
How to Get Last Day of a Month in Java
Discover how to find the last day of a month in Java using both core Java methods and popular libraries. This article provides step-by-step explanations for accomplishing the task using Date and Calendar classes, Java 8’s Date Time API, and the Joda Time library with code examples and test cases.
Java Weekly, Issue 495
Lots and lots of new releases this week. And some Java Records goodness 🙂
Java Weekly, Issue 494
Simplified SSL in Spring Boot, structured concurrency in Java 21, nulls in Collectors, XSS in Java, and WASM on Docker.
Java Weekly, Issue 493
Generational Shenandoah, nullability of value types, class loaders in Java, DDL validation, and rolling out features at scale!
Converting Map<String, Object> to Map<String, String> in Java
Learn different ways to convert a Map to Map.
Java Weekly, Issue 492
Exhaustiveness in Pattern Matching, dynamic threads for JVM compilers, JFR events in shell, association attributes in JPA, and zero downtime migrations at scale!
Java Weekly, Issue 491
Simplified main entries, CDC for cache, cloud-native Graal, key encapsulation, and event sourcing and audit logs!
Java Weekly, Issue 490
Java performance is the theme this week, with a lot of interesting pieces.
Hashing With Argon2 in Java
Learn about hashing and salting techniques and understand how to hash with Argon2 in Java.
Java Weekly, Issue 489
Unnamed methods in Java, Hibernate 6 migration, async-profiler, generative AI and jobs, and monoliths are not dinosaurs!
Overriding hashCode() And equals() For Records
Learn how records provide us with a default implementation of equals() and hashCode() methods.
Difference Between FileReader and BufferedReader in Java
Learn how to use FileReader and BufferedReader and the differences between them.
Java Weekly, Issue 488
Pattern matching and records patterns for Java 21, generational ZGC, Spring transactions, JSON views, low latency queues, and naming!
Java Weekly, Issue 487
Java 20, adaptive GC for Quarkus, JFR event streaming, Java threading primitives, maintainable software, and HTTP stats codes!
Find the Most Frequent Characters in a String
Learn three approaches to finding the most frequent characters in a string, with examples.
External Debugging With JMXTerm
Learn how to use JMXTerm to perform external debugging on a Java application.
Java Weekly, Issue 486
Another preview of Foreign Functions, Jakarta REST, Scala 3 annotations, Postgres power features, and Scalable Slack!