either 1.4
- refactoring: inline internal helper methods to improve readability
- add
optionalList
, a static utility method that converts fromList<E>
toOptional<List<E>>
, by mapping an empty List to an empty Optional, which can make it easier to express certain filter operations