Articles tagged with "java"
String manipulation is a common task in programming, and joining strings is a key part of it. Different languages offer various methods to achieve this. This article compares the string join techniques in Python, Java, JavaScript, and PHP, providing a quick reference for developers to understand and use these methods effectively.
The Java Stream API provides powerful tools that can be used to efficiently process large amounts of data. One such tool is the Collector interface, which allows us to easily count and group elements in a collection based on different criteria. In this article we will demonstrate how to use it to calculate frequency or remove/count duplicates.
How to create nested folder structure with Java with the NIO API (and also without it)
Starting with Java 11 (where JEP 330 is implemented), we can directly use Java in the shell scripts
Determine leap years with different implementations in PHP, Java, Python and JavaScript.
How to use the simple, build-in HTTP server which comes with Java 18 to serve static files
How to use the Font Awesome Icons in JavaFX application part 3: Use the icons directly in FXML
How to use the Font Awesome Icons in JavaFX application part 2: Use the icons in a programmatically created GUI
How to use the Font Awesome Icons in JavaFX application part 1: Integrate the icons in your application
Extend components defined with FXML markup