Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- attributeList.stream().filter(attribute -> attribute.getAttributeType().equals("Select"))
- .map(attribute -> new AttributeOption(attribute.getCode())).collect(Collectors.toList())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement