I have an array of objects. I want to pass it through a few steps that will modify each object in the array. These steps are independent of each other, and may not all be used in every case. Looking for a design pattern that might describe this behavior.
Thanks
You may be looking for the Visitor pattern.