List/Grid Tag Archives: String

String memory internals
This article is based on my answer on StackOverflow. I am trying to explain how String class stores the texts, how interning and constant pool works. The main ...

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 java.lang.String class methods may be a solution, but ...

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 object I’d found with 167 disparate methods that linked this object with all ...

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 about String performance tunning. Especially we ...

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 about String performance tuning. We will focus ...


