Articles tagged with "java"

String Joining Techniques Across Python, Java, JavaScript, and PHP

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.

Counting Duplicates with Java Stream API

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.

Create Nested Folders with Java

How to create nested folder structure with Java with the NIO API (and also without it)

Run Java directly in Shebang Scripts

Starting with Java 11 (where JEP 330 is implemented), we can directly use Java in the shell scripts

Leap Years Calculation with PHP, Java, Python and JavaScript

Determine leap years with different implementations in PHP, Java, Python and JavaScript.

Use the Build-In HTTP Server in Java 18

How to use the simple, build-in HTTP server which comes with Java 18 to serve static files

Font Awesome Icons in JavaFX (Part 3/3)

How to use the Font Awesome Icons in JavaFX application part 3: Use the icons directly in FXML

Font Awesome Icons in JavaFX (Part 2/3)

How to use the Font Awesome Icons in JavaFX application part 2: Use the icons in a programmatically created GUI

Font Awesome Icons in JavaFX (Part 1/3)

How to use the Font Awesome Icons in JavaFX application part 1: Integrate the icons in your application

FXML Markup Inheritance in JavaFX

Extend components defined with FXML markup