Quick Guide to the Java StringTokenizer

2021 VietMX 0

1. Overview In this quick article, we’ll explore a fundamental class in Java – the StringTokenizer. 2. StringTokenizer The StringTokenizer class helps us split Strings into multiple tokens. StreamTokenizer provides similar functionality […]

Concatenating Strings In Java

2021 VietMX 0

1. Introduction Java provides a substantial number of methods and classes dedicated to concatenating Strings. In this tutorial, we’ll dive into several of them as well as outline […]

CharSequence vs. String in Java

2021 VietMX 0

1. Introduction Simply put, CharSequence and String are two different fundamental concepts in Java. In this quick article, we’re going to have a look at the differences between these […]

Comparing Strings in Java

2021 VietMX 0

1. Overview In this article, we’ll talk about the different ways of comparing Strings in Java. As String is one of the most used data types in Java, this […]

Split a String in Java

2021 VietMX 0

1. Introduction Splitting Strings is a very frequent operation; this quick tutorial is focused on some of the API we can use to do this simply in […]

A Guide to BitSet in Java

2021 VietMX 0

1. Overview In this tutorial, we’re going to see how we can use BitSets to represent a vector of bits. First, we’ll start with the rationale behind […]

Comparing Arrays in Java

2021 VietMX 0

1. Overview In this tutorial, we’re going to have a look at different ways to compare arrays in Java. We’ll cover conventional methods, and we’ll also […]

Converting Java Date to OffsetDateTime

2021 VietMX 0

1. Introduction In this tutorial, we learn about the difference between Date and OffsetDateTime. We also learn how to convert from one to the other. 2. Difference Between Date and OffsetDateTime OffsetDateTime was […]