MCPcopy Create free account
hub / github.com/apache/commons-lang / stream

Method stream

src/main/java/org/apache/commons/lang3/Functions.java:559–561  ·  view source on GitHub ↗

Converts the given collection into a FailableStream. The FailableStream consists of the collections elements. Shortcut for Functions.stream(collection.stream()); @param collection The collection, which is being converted into a FailableStream. @param The col

(final Collection<O> collection)

Source from the content-addressed store, hash-verified

557 * @since 3.10
558 */
559 public static <O> FailableStream<O> stream(final Collection<O> collection) {
560 return new FailableStream<>(collection.stream());
561 }
562
563 /**
564 * Converts the given stream into a {@link FailableStream}. The {@link FailableStream} consists of the same

Calls

no outgoing calls

Tested by 6

testSimpleStreamMapMethod · 0.76