code: @SafeVarargs
      public static <K, V> Map<K, V> map( Function<V, K> key, V... values )
      {
          return values == null || values.length == 0 ? emptyMap() : map( asList( values ), key );
      }
docs: Create a {@link Map} by applying a function that extracts the key from an array of values.
  
  @param key    the key extraction function.
  @param values the values of the map (from which the keys are extracted).
  @param <K>    the type of the keys.
  @param <V>    the type of the values.
  @return a {@link Map} from the keys of the values to the values.