MCPcopy Create free account
hub / github.com/antlr/codebuff / toArray

Method toArray

output/java_guava/1.4.19/FluentIterable.java:803–806  ·  view source on GitHub ↗

Returns an array containing all of the elements from this fluent iterable in iteration order. Stream equivalent: if an object array is acceptable, use stream.toArray(); if type is a class literal such as MyType.class, use {@code stream.toArray(MyType[]::new

(Class<E> type)

Source from the content-addressed store, hash-verified

801 */
802
803 @GwtIncompatible // Array.newArray(Class, int)
804 public final E[] toArray(Class<E> type) {
805 return Iterables.toArray(iterable, type);
806 }
807
808 /**
809 * Copies all the elements from this fluent iterable to {@code collection}. This is equivalent to

Callers

nothing calls this directly

Calls 1

toArrayMethod · 0.95

Tested by

no test coverage detected