@Override int copyIntoArray(Object[] dst, int offset) { return elements.copyIntoArray(dst, offset); }
@Override int copyIntoArray(Object[] dst, int offset) { return elements.copyIntoArray(dst, offset); }
@Override int copyIntoArray(Object[] dst, int offset) { return elements.copyIntoArray(dst, offset); }
@GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(Object[] dst, int offset) { return delegateList.copyIntoArray(dst, offset); }
@Override @GwtIncompatible("not used in GWT") int copyIntoArray(Object[] dst, int offset) { return entries.copyIntoArray(dst, offset); }
@Override int copyIntoArray(Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); }
@Override @GwtIncompatible("not used in GWT") int copyIntoArray(Object[] dst, int offset) { return entries.copyIntoArray(dst, offset); }
@GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(Object[] dst, int offset) { return delegateList.copyIntoArray(dst, offset); }
@Override @GwtIncompatible int copyIntoArray(Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); }
@GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(Object[] dst, int offset) { return delegateList.copyIntoArray(dst, offset); }
@Override @GwtIncompatible("not used in GWT") int copyIntoArray(Object[] dst, int offset) { return entries.copyIntoArray(dst, offset); }
@Override int copyIntoArray(Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); }
@Override @GwtIncompatible int copyIntoArray(Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); }
@Override @GwtIncompatible int copyIntoArray(Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); }
/** * Identical to {@link #of(Object[])}. * * @throws NullPointerException if any element is null */ public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { return new RegularImmutableList<E>(copyIntoArray(e1, e2, e3, e4)); }
/** * Identical to {@link #of(Object[])}. * * @throws NullPointerException if any element is null */ public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { return new RegularImmutableList<E>(copyIntoArray(e1, e2, e3, e4, e5, e6)); }
/** * Identical to {@link #of(Object[])}. * * @throws NullPointerException if any element is null */ public static <E> ImmutableList<E> of( E e1, E e2, E e3, E e4, E e5, E e6, E e7) { return new RegularImmutableList<E>( copyIntoArray(e1, e2, e3, e4, e5, e6, e7)); }
/** * Identical to {@link #of(Object[])}. * * @throws NullPointerException if any element is null */ public static <E> ImmutableList<E> of( E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9) { return new RegularImmutableList<E>( copyIntoArray(e1, e2, e3, e4, e5, e6, e7, e8, e9)); }
/** * Identical to {@link #of(Object[])}. * * @throws NullPointerException if any element is null */ public static <E> ImmutableList<E> of(E e1, E e2, E e3) { return new RegularImmutableList<E>(copyIntoArray(e1, e2, e3)); }
/** * Identical to {@link #of(Object[])}. * * @throws NullPointerException if any element is null */ public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { return new RegularImmutableList<E>(copyIntoArray(e1, e2, e3, e4, e5)); }