String
-
Core Java
Check if Two Strings Are Permutations of Each Other in Java
In this article, we will explore different approaches to check if two strings are permutations of each other in Java.…
Read More » -
Core Java
Methods To Convert InputStream to String In Java
In Java, an InputStream is a common way to read data from a source, such as a file or network…
Read More » -
Core Java
Top 10 Questions of Java Strings
The following are top 10 frequently asked questions about Java Strings. 1. How to compare strings? Use “==” or use…
Read More » -
Core Java
String memory internals
This article is based on my answer on StackOverflow. I am trying to explain how String class stores the texts,…
Read More » -
Core Java
Generic Text Comparison Tool with LCS Approach
Detecting and showing differences of two texts (especially having hundreds or thousands of lines) is a common problem. Using pure…
Read More » -
Core Java
Is Java’s String Class a God Object?
In October I wrote a blog entitled Top Trumps in God Objects where I talked about the discovery of an…
Read More » -
Core Java
Java Best Practices – Char to Byte and Byte to Char conversions
Continuing our series of articles concerning proposed practices while working with the Java programming language, we are going to talk…
Read More » -
Core Java
Java Best Practices – String performance and Exact String Matching
Continuing our series of articles concerning proposed practices while working with the Java programming language, we are going to talk…
Read More »