Heinz Kabutz (JavaSpecialists) personal blog

Java 7 changed the structure of String

Java 7 quietly changed the structure of String. Instead of an offset and a count, the String now only contained a char[]. This had some harmful effects for those expecting substring() would always share the underlying char[].
Points
101
HN comments
86
Submissions
1
Cited by
0 commenters

Programming Languages2015

On Hacker News

SubmittedTitle on HNPointsComments
Jul 10, 2015Java 7 changed the structure of String by antoaravinth10186

Related posts from the same era