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