Created
September 25, 2020 07:52
-
-
Save zivce/3400e7b4f359869e3116dd32315a75b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final List<String> categories = source.getCategories().stream() | |
.map(getUniqueItemIdentifierService()::getItemData) | |
.filter(Optional::isPresent) | |
.map(Optional::get) | |
.map(ItemData::getItemId) | |
.collect(Collectors.toList()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment