public class Functions extends Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.function.Function<String,String> |
capitalize |
static java.util.function.Function<String,Language> |
parseLanguage |
| Constructor and Description |
|---|
Functions() |
| Modifier and Type | Method and Description |
|---|---|
static <A,B,C> java.util.stream.Stream<C> |
zip(java.util.stream.Stream<? extends A> a,
java.util.stream.Stream<? extends B> b,
java.util.function.BiFunction<? super A,? super B,? extends C> zipper)
Zip Streams
a and b with zipper
http://stackoverflow.com/questions/17640754/zipping-streams-using-jdk8-with-lambda-java-util-stream-streams-zip |
public static final java.util.function.Function<String,String> capitalize
public static final java.util.function.Function<String,Language> parseLanguage
public static <A,B,C> java.util.stream.Stream<C> zip(java.util.stream.Stream<? extends A> a, java.util.stream.Stream<? extends B> b, java.util.function.BiFunction<? super A,? super B,? extends C> zipper)
a and b with zipper
http://stackoverflow.com/questions/17640754/zipping-streams-using-jdk8-with-lambda-java-util-stream-streams-zipA - the type of first streamB - the type of second streamC - the combined typea - the first streamb - the second streamzipper - the streams combiningCopyright © 2020–2022 ICIJ. All rights reserved.