code: @Pure
  	@SafeVarargs
  	public static <K, V> Map<K, V> newImmutableMap(Pair<? extends K, ? extends V>... entries) {
  		if (entries.length == 0)
  			return emptyMap();
  		ImmutableMap.Builder<K, V> builder = ImmutableMap.builder();
  		for (Pair<? extends K, ? extends V> entry : entries) {
  			builder.put(entry.getKey(), entry.getValue());
  		}
  		return builder.build();
  	}
docs: Returns an immutable map containing the given entries. Repeated occurrences of a keys will cause an
  {@link IllegalArgumentException}.
  
  @param entries
  the entries that should be contained in the map. May not be <code>null</code> and may
  not contain any <code>null</code> keys or values.
  @return an immutable map containing the given entries.
  @throws NullPointerException
  if {@code entries} or any key or value in {@code entries} is <code>null</code>
  @throws IllegalArgumentException
  if duplicate keys are contained in {@code entries}.