Tagged articles
202 articles
Page 3 of 3
Qunar Tech Salon
Qunar Tech Salon
Mar 20, 2016 · Fundamentals

Converting Primitive Types to String and Efficient String Concatenation in Java

This article explains how to convert primitive types to strings in Java, discusses why simple concatenation with an empty string is inefficient, compares different splitting implementations, benchmarks various string concatenation methods including String.concat, the '+' operator, and StringBuilder, and recommends using String.valueOf and the OptimizeStringConcat JVM option for better performance.

StringString.concatstringbuilder
0 likes · 10 min read
Converting Primitive Types to String and Efficient String Concatenation in Java
Qunar Tech Salon
Qunar Tech Salon
Mar 30, 2015 · Backend Development

Lesser‑Known but Practical Features of Google Guava

This article explores several under‑used yet useful Google Guava utilities—including unsigned primitive types, 128‑bit MurmurHash, InternetDomainName parsing, class‑path reflection, and CharMatcher string handling—providing code examples and explanations of how they can improve Java development efficiency.

HashingReflectionString
0 likes · 9 min read
Lesser‑Known but Practical Features of Google Guava