Last active
October 31, 2019 15:00
-
-
Save vbmendes/e865f387500f575a0788c084ac2fccfc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
return Stream.of(this.getStringA(), this.getStringB()) | |
.filter(Objects::nonNull) | |
.collect(Collectors.joining(" - ")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment