Created
May 9, 2014 17:54
-
-
Save benmmurphy/386be40056bf3a2e263e to your computer and use it in GitHub Desktop.
Writing Bad
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
import static java.util.Arrays.*; | |
public class JavaDoc { | |
public String name() { | |
return asList('I', 'x', | |
'`', 'u', | |
'`', 'a', | |
'x', 'd', | |
'q', 'f') | |
.stream() | |
.filter(c -> c != 120) | |
.map(c -> (char) (c + 1)) | |
.map(c -> "" + c) | |
.reduce((a, b) -> a + b) | |
.get(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment