static <E> ImmutableList<E> asImmutableList(Object[] elements, int length) {
    if (length == 0) {
      return of();
    }
    return new RegularImmutableList<E>(elements, length);
  }
static <E> ImmutableList<E> asImmutableList(Object[] elements, int length) {
    if (length == 0) {
      return of();
    }
    return new RegularImmutableList<E>(elements, length);
  }
static < E > ImmutableList < E > asImmutableList ( Object [ ] elements , int length ) { if ( length == 0 ) { return of ( ) ; } return new RegularImmutableList < E > ( elements , length ) ; }
Views the array as an immutable list. Does not check for nulls.
Views the array as an immutable list . Does not check for nulls .