either 1.5
- move static methods
optionalList
,toValidList
,toValidListAll
to a utility class:Eithers
- add
Eithers.toOptionalList
, which returns a collector that accumulates intoOptional<List<T>>
optionalList
, toValidList
, toValidListAll
to a utility class: Eithers
Eithers.toOptionalList
, which returns a collector that accumulates into Optional<List<T>>