I seem to

a) Be at a loose end for Saturday night
b) Need somebody to go and see Iron Man with

Anybody want to see it with me?
(Would be a good chance to catch up with anybody I haven't seen in a while...)
Tags:
...I go and discover something new about it. For instance, I never realised you could do this:

class MyClass {
    public static HashMap<String,String> myDict;

    static {
       myDict = new HashMap<String,String>();
       myDict.put( "Do", "A deer, a female deer" );
       myDict.put( "Re", "A drop of golden sun" );
       myDict.put( "Mi", "A name I call myself" );
       myDict.put( "Fa", "A long, long way to run" );
    }

    /* ... more stuff ... */
}

Which is so incredibly useful, I can't believe I never discovered it before.

Edit: and now a not-so-useful example: An alternative 'hello, world' )
Edit 2: That can, in fact, be public static final HashMap<String,String> myDict;, which is arguably more useful.
.

Profile

spudtater: (Default)
spudtater

Most Popular Tags

Powered by Dreamwidth Studios

Style Credit

Expand Cut Tags

No cut tags