code: @SafeVarargs
      public static <T> Map<Integer, T> fromElements(T ... elements)
      {
          return fromIterable(Arrays.asList(elements));
      }
docs: Creates a map that maps consecutive integer values to the
  corresponding elements in the given array.
  
  @param <T> The value type
  @param elements The elements
  @return The map