#590 add explanation to Pipeline

This commit is contained in:
Ilkka Seppälä
2020-07-23 18:53:47 +03:00
parent 9deb587c52
commit 689486267d
2 changed files with 84 additions and 7 deletions

View File

@ -59,8 +59,9 @@ public class App {
then is expected to receive an input of char[] array since that is the type being returned
by the previous handler, ConvertToCharArrayHandler.
*/
new Pipeline<>(new RemoveAlphabetsHandler())
var filters = new Pipeline<>(new RemoveAlphabetsHandler())
.addHandler(new RemoveDigitsHandler())
.addHandler(new ConvertToCharArrayHandler());
filters.execute("GoYankees123!");
}
}