This function aggregates an input stream to a Set.
Set
For example, you can aggregate a stream of persons to a Set<String> of the fullnames.
Set<String>
filterExpression
expression
person.fullname