Recent Posts

Monday 17th March 2008

less than 1 minute read

St Paddy’s Day - 3 hours, 65kmHarolds Cross -> Brittas -> Kilbride -> Sally’s Gap -> Glencree -> Harolds Cross.<img style=”display:block; m...

Java Generics

less than 1 minute read

I think the The Craftsman 44: Java Generics 2 gives the best exaplaination on when to use extends or super when defining Generics.Basically use you can widen...

Hangman with Generics

less than 1 minute read

I’m implementing a hangman game, which uses a HashMap to store a character and result of the character guess.<pre class="prettyprint" id="java">public ...

The Open Closed Principle

less than 1 minute read

The Open Closed Principle says that you should design modules that never change. When requirements change, you extend the behavior of such modules by adding ...

Initialising an empty arraylist

less than 1 minute read<pre> List l = new ArrayList(Collections.nCopies(n, null));</pre>

Sunday 17th Feb

less than 1 minute read

Naas - Kill - Brittas - NewTownMountKennedy - Blessinton - Naas [45km] <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" ma...


1 minute read

package com.xx;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.tmatesoft.svn.core.SVNException;import org.tmate...