Home | History | Annotate | Download | only in collect

Lines Matching defs:copyOf

219    * {@link #copyOf(Collection)}; otherwise, it behaves exactly as {@code
220 * copyOf(elements.iterator()}.
224 public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) {
227 ? copyOf((Collection<? extends E>) elements)
228 : copyOf(elements.iterator());
239 * ImmutableList.copyOf(list)} returns an {@code ImmutableList<String>}
250 public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) {
266 public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) {
288 public static <E> ImmutableList<E> copyOf(E[] elements) {
592 return copyOf(elements);