out.println(c.getName() + " " + c.getCountry());
out.println();
// Simple filtering with a parameter
// (the parameter must be a basic type and a local variable)
ItemType param = ItemType.SMALL;
out.println("ITEMS OF TYPE SMALL");
items()
.where(i -> i.getType() == param)
.forEach( i -> out.println(i.getName() + " " + i.getType().name()));
out.println();