public final class StreamConverter extends ConversionAgent<java.util.stream.Stream<Person>>
people
Constructor and Description |
---|
StreamConverter(int collectionSize) |
StreamConverter(java.util.stream.Stream<Person> people) |
Modifier and Type | Method and Description |
---|---|
Person[] |
toArray() |
java.util.List<Person> |
toList() |
java.util.stream.Stream<Person> |
toStream() |
filter, flatMap
public StreamConverter(java.util.stream.Stream<Person> people)
public StreamConverter(int collectionSize)
public java.util.List<Person> toList()
toList
in class ConversionAgent<java.util.stream.Stream<Person>>
public java.util.stream.Stream<Person> toStream()
toStream
in class ConversionAgent<java.util.stream.Stream<Person>>
public Person[] toArray()
toArray
in class ConversionAgent<java.util.stream.Stream<Person>>