Entries in the ‘Java’ Category:

Splitting and Tokenizing Strings in Java

There are at least two ways of tokenizing Strings in Java. Simple examples work like a charm, but it is very easy to encounter some weird or unintuitive behavior while experimenting with complex regexes or some corner cases. Thus, in order to gain deeper knowledge, I am gonna dive into the implementations details and present [...]

Tags: ,

View Comments

String literal pool and JLS rules for String objects

I have been playing with the String objects in order to review all the rules defined by the JLS regarding the String creation and handling. I have recently created a JUnit test case which examines all the aforementioned rules. Enjoy!
JLS rules for Strings:

Literal strings within the same class (§8) in the same package (§7) represent [...]

Tags: , ,

View Comments

MSc Thesis Award

I am very excited to announce that Marek’s and my Master Thesis was awarded in the contest organized by the Polish Information Processing Society. Official results can be found here: RESULTS. Now we are awaiting results of ABB IT Challenge which will be published in May 2009. Wish us luck

Tags: , ,

View Comments