code: public void map(K key, V value,
                    OutputCollector<V, K> output, Reporter reporter)
      throws IOException {
      output.collect(value, key);
    }
docs: The inverse function.  Input keys and values are swapped.