Often you have a collection class and you want to remove or


Question: Often you have a Collection class and you want to remove or "filter" out some of the elements. For example, you might have a set of Integer objects, and you want to filter out all the odd integers, leaving only the even ones.

a. Design a way of filtering Collection classes. Your design should not require

modification of the source code of existing Collection classes or interfaces. Your design should be as

flexible and generally useful as possible. You should include an explanation of why you designed it the way you did.

b. Implement your design.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Often you have a collection class and you want to remove or
Reference No:- TGS02580243

Expected delivery within 24 Hours