Or with polymorphism and composition. Create an in...
# getting-started
u
Or with polymorphism and composition. Create an interface that has the method. Create a base case that just returns all the items. Create another class that filters and delegates to a class that it takes in the constructor.