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