Posts by José Nascimento • 23 points
1 post
-
2
votes1
answer173
viewsQ: How to use Consumer in a variable (Java 8)
I created my own data structure for a Text Adventure game, and in it each Action object has a Consumer. The next step would be whenever someone typed a word, went through the structure and found an…