We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5496578 commit 2a147d7Copy full SHA for 2a147d7
src/main/java/edu/luc/cs/consoleapp/MainTestable.java
@@ -31,6 +31,7 @@ public static void main(final String[] args) {
31
32
final var input = new Scanner(System.in).useDelimiter("(?U)[^\\p{Alpha}0-9']+");
33
// a handler instance that sends updates to the console
34
+ // (the anonymous lambda implements the sole `accept` method)
35
final OutputHandler outputToConsole =
36
value -> {
37
System.out.println(value);
0 commit comments