Maheshwar Ligadefortechwastitechwasti.com·7 hours agoJava 21 Features with Practical Examples.Java 21, released in September 2024, introduces a host of exciting new features, performance improvements, and enhancements aimed at improving developer productivity, application performance, and language features. This article provides a comprehensi...DiscussJava21
Maheshwar Ligadefortechwastitechwasti.com·Nov 19, 2024How to Use String.indent() to Left Indent Lines in Java.Java 12 introduced the String.indent() method, a simple and convenient way to add or remove leading spaces from lines in a string. This method allows you to add left indentation to individual lines or entire blocks of text, making it especially usefu...Discussjava12
Maheshwar Ligadefortechwastitechwasti.com·Nov 18, 2024Compact Number Formatting in Java: Simplifying Large Numbers for ReadabilityJava 12 introduced the Compact Number Formatting feature, making it easier to display large numbers in a readable and concise way, like transforming "1000" into "1K" or "1000000" into "1M". This feature is particularly useful in financial application...DiscussJava
Durlabh Sharmablog.durlabhsharma.com·Jul 18, 2024Understanding Virtual Threads in Java 21Wait, don’t we already have Threads in Java? To start with virtual threads, it's imperative to understand the existing Threads API in Java very briefly. Till Java 19, all the JVM Threads had a direct mapping with an underlying native OS thread which ...Discuss·57 readsJava
Pankaj Chaudharipankajchaudhari15.hashnode.dev·Jun 24, 2024Exploring the Latest Features in Java Version 21Hey Java enthusiasts! Java 21 has just landed with fantastic new features that will improve your coding experience. Whether you're new to Java or a seasoned developer, let's explore what Java 21 offers with clear examples to help you understand. 1. S...Discuss·2 likes·43 readsJavaFeatures
Lee CarverProleeca.hashnode.dev·Mar 7, 2024Gradle First or No Good Deed Goes UnpunishedSometimes software development is like an evil game of Simon Says. Two steps forward. Two steps forward. One little bumble as you approach the finish line, and it’s ten somersaults backwards. Details If you are seeing Gradle fail due to an “Unsupp...Discussgradle
Mathias Vandaelemathias-vandaele.dev·Feb 28, 2024Static dispatch vs dynamic dispatch in Rust, how to dramatically improve performances + Java 21 bonusBefore diving deeper, let's understand the key differences between static and dynamic dispatching. When you have a trait (interface for those unfamiliar with rust), you have to put the function signature of what all classes or struct will implement. ...Discuss·55 readsstatic dispatch
Alok Dubeyalokdubey.hashnode.dev·Feb 17, 2024Exploring SequencedCollection in Java 21With the introduction of SequencedCollection in Java 21, interfaces like List and Deque now directly extend SequencedCollection, which in turn extends the Collection interface. This ensures uniformity across implementations for operations such as acc...Discuss·1 like·48 readsJava21
Jeannot MullerProjeannot.hashnode.dev·Oct 12, 2023Running Vaadin 24 with Gradle on Java 21Gradle has not been officially released for Java 21, but it works sufficiently well with Gradle 8.4 or later for compilation and execution. Essentially, this means that Gradle cannot run on Java 21 LTS just yet. I will briefly demonstrate how I manag...Discuss·99 readsVaadinvaadin
Abhinav Sharmaonlyabhinav.hashnode.dev·Sep 10, 2023Java 21 - All about Virtual Threads// Below example shows how to use Virtual Threads in Java 21DiscussJava21