how I hate that java.util.Map.get(Object) is not generified. Probably the biggest source of my Java API-related bugs. Tempted to write

static <K, V> V mapGet(Map<K, V> map, K key) {
    return map.get(key);
}