Hollywood Actresses

Posted by & filed under , .

I was watching just last night a movie on one of the terestrial channel — a repeat of a classic super-action/super-adventure/super-thriller and all the other “supers” (I’m not going to divulge the name of it as I don’t want to actually increase its popularity) when what is about to follow in this post (re)occurred to […]

StringBuilder — Memory Consumption

Posted by & filed under , .

You have seen probably my initial post about creating StringBuilder’s in Java — and the continuation of it which looked at timings involved. As I promised, I have finally had some time to look at the memory consumption involved in using the 2 ways of creating a StringBuilder in Java. I have used a code […]

Creating StringBuilder in Java

Posted by & filed under , , .

I wrote in my previous post about StringBuilder’s in Java, and I felt I should provide some measurements around the whole discussion. So I put together some quick and dirty code which is good enough for a comparison of the 2 ways of creating a StringBuilder — bear in mind I said “comparison”, as such […]

About Data Comparison in Java

Posted by & filed under , , .

If you have been involved in some coding (Java or otherwise) more than likely at some point you had to deal with the situation where you have to compare some data — for the purpose of sorting items in a list, of validating input, or many of the many other situations that require it. And […]

computer code

Arrays in Java

Posted by & filed under , , , .

I seem to be on a roll today so I thought I’d mention this little tip that I have come across in the past when using arrays — more specifically bi-dimensional arrays. We think of such arrays (in Java and other languages as well!) quite often as a bit of a Scrabble board where we […]