Subscribe to cfoley's Blog        RSS Feed
- - - - -

WinSplit Revolution

Icon Leave Comment
A couple of days ago, I started testing a utility called WinSplit Revolution...
* * * * *

s = new String(s);

Icon 12 Comments
I recently discovered a memory leak in one of my Java applications.

"What's this?", I hear you say.
"Isn't the point of the garbage collector to keep Java free from memory leaks?"

Well yes, to a point. The garbage collector will clear up after you when you stop using old objects but if you leave a reference to...
- - - - -

Iterating text files the Java way

Icon Leave Comment
My latest Java snippet lets me iterate through a text file with a simple for...each loop. Using it looks something like this. Java's file handling has always seemed overly verbose to me (especially when I only ever want to do simple things with it) so I'm glad to have a more concise idiom.

...
Page 1 of 1

September 2014

S M T W T F S
 1 2 3456
78910111213
14151617181920
21222324252627
282930    

Tags

    Recent Entries

    Recent Comments

    Search My Blog

    0 user(s) viewing

    0 Guests
    0 member(s)
    0 anonymous member(s)