coffee_fan (25) [Avatar] Offline
It is not hard to create it, but for folks that are following along it is one annoyance.
v8 (5) [Avatar] Offline
filterByType method is included in the DesignTacoController source code.
I assume the author didn't include it in the listing as it brings no value for the understanding of the concepts.

	private List<Ingredient> filterByType(List<Ingredient> ingredients, Type type) {
				.filter(x -> x.getType().equals(type))
habuma (277) [Avatar] Offline
That's right...I left it out of the manuscript because it didn't pertain directly to the subject. It's fairly brief, so I guess I could consider working it in. But for space reasons and subject-focus reasons, I can't practically include *ALL* of the code in the book.