Archivi per 12 Marzo 2009



Recently at Devoxx I've heard that type inference will be available on Java7 to shorten collections instantiations. (If I remember correctly, from Josh Bloch's workshop).
I catched the idea, and started using Type Inference and Varargs to shorten my code.
Here's an example:
static <K, V> Map<K, V> newHashMap() {
return new HashMap<K, V>();
}

static <T> [...]

Two Saturdays ago, I bought the Wireless Apple Mightymouse. Very nice looking, but I find it much harder to use than the MacBook's touchpad. Basically the problem is the acceleration, there's no way to set it up without external utility: usboverdrive, steermouse, about $20 each. While you can adjust mouse acceleration in any decent OS, [...]




Info

Stai navigando negli archivi del sito NewInstance per il giorno 12 Marzo 2009.

Gli articoli lunghi sono troncati. Clicca sul titolo dell'articolo per leggerlo interamente.

Calendario

Marzo 2009
L M M G V S D
« Feb   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categorie