public class StreamMap
extends java.lang.Object
Constructor and Description |
---|
StreamMap() |
Modifier and Type | Method and Description |
---|---|
static java.util.stream.Stream<java.lang.String> |
letters(java.lang.String someWord) |
static java.util.stream.Stream<java.util.stream.Stream<java.lang.String>> |
wordsFlatMap(java.lang.String... someWords) |
static java.util.stream.Stream<java.util.stream.Stream<java.lang.String>> |
wordsMap(java.lang.String... someWords) |
public static java.util.stream.Stream<java.lang.String> letters(java.lang.String someWord)
someWord
- - word to convert to Streampublic static java.util.stream.Stream<java.util.stream.Stream<java.lang.String>> wordsMap(java.lang.String... someWords)
someWords
- - variable amount of String argumentspublic static java.util.stream.Stream<java.util.stream.Stream<java.lang.String>> wordsFlatMap(java.lang.String... someWords)